hyperv: Fix a bug in netvsc_send()
authorKY Srinivasan <kys@microsoft.com>
Sun, 5 Oct 2014 17:42:51 +0000 (10:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 01:10:48 +0000 (21:10 -0400)
commit3a67c9ccad926a168d8b7891537a452018368a5b
tree973c47a5954f0481f06a7ac8e5e46740d8c8e5a2
parent47549650abd13d873fd2e5fc218db19e21031074
hyperv: Fix a bug in netvsc_send()

After the packet is successfully sent, we should not touch the packet
as it may have been freed. This patch is based on the work done by
Long Li <longli@microsoft.com>.

David, please queue this up for stable.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reported-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c