]> 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)
commit8242cc7a51e6a323be9b537e784d46691242ad99
tree973c47a5954f0481f06a7ac8e5e46740d8c8e5a2
parenta996c7dbe7df40dbe7656a9da5c82fd7df2e9077
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