hv_netvsc: use RCU to protect vf_netdev
authorStephen Hemminger <sthemmin@microsoft.com>
Thu, 22 Sep 2016 23:56:33 +0000 (16:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2016 12:39:49 +0000 (08:39 -0400)
commitf207c10d982388fa42710922ad1c0c9d3ba9a87b
tree0961c5920a02cb9e1a621b2a46134d156fa4efe9
parente8ff40d4bff1f3b6a588e29ed1fbdfd943642856
hv_netvsc: use RCU to protect vf_netdev

The vf_netdev pointer in the netvsc device context can simply be protected
by RCU because network device destruction is already RCU synchronized.

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