]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd392c1661c5e91166d2db656e3efd2df9613cbc5
tree3b71df2471a518457549d0e4449f4d11892a31a6
parent19a43f53d51db3bb2aeaa0dc0b0b248fe308afc8
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