]> git.baikalelectronics.ru Git - kernel.git/commit
netvsc: fix hang on netvsc module removal
authorstephen hemminger <stephen@networkplumber.org>
Thu, 9 Mar 2017 23:04:15 +0000 (15:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:15:43 +0000 (23:15 -0700)
commitb1114c1f53c8005f6eb7cf9392423568f037af90
tree1ced2db009d3dd2aabd1ce674878882d75a95bfb
parentacdafc514931c45c81ccfe342edbe43ef27b3fbb
netvsc: fix hang on netvsc module removal

The code in netvsc_device_remove was incorrectly calling napi_disable
repeatedly on the same element. This would cause attempts
to remove netvsc module to hang.

Fixes: 2506b1dc4bbe ("netvsc: implement NAPI")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c