OSDN Git Service

netvsc: Deal with rescinded channels correctly
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 19 Apr 2017 20:53:49 +0000 (13:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Mar 2018 10:00:13 +0000 (11:00 +0100)
commit72bded3b6c5201d15050ec639e9ec8d9aeceda10
treeda2bf1b4945ddba64225809b36ec43e8508753de
parent5a049986d6a6759ae23685cb2fd93ce56163bb34
netvsc: Deal with rescinded channels correctly

[ Upstream commit 73e64fa4f417b22d8d5521999a631ced8e2d442e ]

We will not be able to send packets over a channel that has been
rescinded. Make necessary adjustments so we can properly cleanup
even when the channel is rescinded. This issue can be trigerred
in the NIC hot-remove path.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/hyperv/netvsc.c