]> git.ipfire.org Git - people/ms/linux.git/commit
hyperv: Fix a bug in netvsc_send() hyper-v-fixes
authorKY Srinivasan <kys@microsoft.com>
Sun, 5 Oct 2014 17:42:51 +0000 (10:42 -0700)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Dec 2015 16:40:37 +0000 (16:40 +0000)
commit412a7d095d519c50e8942324c04588216cc5f733
treedf7492ecf05fb531e4b80e7e317251bd004815f4
parent39a4693e995a8f66cb1a0828a97021c76e10ff89
hyperv: Fix a bug in netvsc_send()

[ Upstream commit 3a67c9ccad926a168d8b7891537a452018368a5b ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/hyperv/netvsc.c