virtio_net: be drop monitor friendly
authorEric Dumazet <edumazet@google.com>
Thu, 24 Aug 2017 16:02:49 +0000 (09:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 18:50:21 +0000 (11:50 -0700)
commitdadc0736f7be553a25ad34dc437ae379c5ab4a68
tree12a55a40ca89f94b6efdac6b6f23884738dced73
parentaf57d2b720252baca5421ec58628da626e1862dc
virtio_net: be drop monitor friendly

This change is needed to not fool drop monitor.
(perf record ... -e skb:kfree_skb )

Packets were properly sent and are consumed after TX completion.

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