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)
commitee90b81203a91d4e5385622811ee7872b5bcfe76
tree50d211e19cbda5786e09ddcfe287da64d6d2c91a
parent721514222db13498613706709409c21c105e0f4a
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