]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
hv_netvsc: use consume_skb
authorStephen Hemminger <sthemmin@microsoft.com>
Thu, 22 Sep 2016 23:56:29 +0000 (16:56 -0700)
committerLuis Henriques <luis.henriques@canonical.com>
Fri, 20 Jan 2017 13:04:58 +0000 (13:04 +0000)
commit6ebf28dc97b606cfaf38de84ca6e0ac3ef8ea754
tree8d12f6f3d1b4f8643d3daf66372fd6f053a9f072
parent1da10da00480d890cb8611c9b03c3a4e49f576b7
hv_netvsc: use consume_skb

BugLink: http://bugs.launchpad.net/bugs/1650059
Packets that are transmitted in normal path should use consume_skb
instead of kfree_skb. This allows for better tracing of packet drops.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 17db4bcef3c3c45b95b3b3d8577f725df1b2c0a0)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/net/hyperv/netvsc.c