]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: Fix the packet free when it is in skb headroom
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 6 Apr 2015 22:22:54 +0000 (15:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 22:45:33 +0000 (18:45 -0400)
commit7462065ae49b7cd2d03dae14c449533b35a3827a
tree50d211e19cbda5786e09ddcfe287da64d6d2c91a
parent7f45b266dfcdc6a1f1a1bc870ceb08b7f81c3fc4
hv_netvsc: Fix the packet free when it is in skb headroom

In the two places changed, we now use netvsc_xmit_completion() which properly
frees hv_netvsc_packet in or not in skb headroom.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c