net: dsa: use consume_skb()
authorEric Dumazet <edumazet@google.com>
Thu, 24 Aug 2017 04:40:32 +0000 (21:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 05:13:34 +0000 (22:13 -0700)
commit2b33bc8aa236b75d6e86a8a79126fd9739e4a5bd
tree2050a523f336a838a9e55e6be51e9b417d11d0d8
parent40e607cbeeb462a5852fedaacff0c5b57cb472c5
net: dsa: use consume_skb()

Two kfree_skb() should be consume_skb(), to be friend with drop monitor
(perf record ... -e skb:kfree_skb)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_ksz.c
net/dsa/tag_trailer.c