]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita442b9d59c3f3cdb369a5a4420bef277574dae93
tree973c47a5954f0481f06a7ac8e5e46740d8c8e5a2
parentfbed356e9a13461688f7b96d6e27740a70aa46e0
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