]> git.baikalelectronics.ru Git - kernel.git/commit
netvsc: Deal with rescinded channels correctly
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 19 Apr 2017 20:53:49 +0000 (13:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2017 17:47:00 +0000 (13:47 -0400)
commitc1c6d04d1dd95019b22101c7a83f37b3e3a303e6
tree6f41077a83362b0a2954d5c21e5372ce20999476
parent319f2fee536a84a2a78069cee99a17fb57cd4b37
netvsc: Deal with rescinded channels correctly

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>
drivers/net/hyperv/netvsc.c