]> 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)
commit72a9f86da634e42da41951da384af0ea1b8bf7e9
tree6f41077a83362b0a2954d5c21e5372ce20999476
parent29fdf3c0beed984e4674b930ffdfa9de3093a32a
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