hv_netvsc: cancel subchannel setup before halting device
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 2 Mar 2018 21:49:04 +0000 (13:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 03:18:20 +0000 (22:18 -0500)
commita7483ec0267c69b34e818738da60b392623da94b
tree3d60899b6580efe961b818312cf09dbb5afe6d16
parentfcfb4a00d1e514e8313277a01ef919de1113025b
hv_netvsc: cancel subchannel setup before halting device

Block setup of multiple channels earlier in the teardown
process. This avoids possible races between halt and subchannel
initialization.

Suggested-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/rndis_filter.c