hv_netvsc: pass netvsc_device to rndis halt
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 16 Mar 2018 22:44:27 +0000 (15:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:10:27 +0000 (20:10 -0400)
commit0e96460e620df7f9a13c352b68b06f02eec3de94
tree3b71df2471a518457549d0e4449f4d11892a31a6
parenta3a41d2f9487469364aeafae0f63d39c2e7179fd
hv_netvsc: pass netvsc_device to rndis halt

The caller has a valid pointer, pass it to rndis_filter_halt_device
and avoid any possible RCU races here.

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