linux/drivers/net/hyperv
Vitaly Kuznetsov 0f20d795f7 hv_netvsc: protect module refcount by checking net_device_ctx->vf_netdev
We're not guaranteed to see NETDEV_REGISTER/NETDEV_UNREGISTER notifications
only once per VF but we increase/decrease module refcount unconditionally.
Check vf_netdev to make sure we don't take/release it twice. We presume
that only one VF per netvsc device may exist.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-15 13:48:07 -07:00
..
hyperv_net.h hv_netvsc: avoid deadlocks between rtnl lock and vf_use_cnt wait 2016-08-15 13:48:07 -07:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: protect module refcount by checking net_device_ctx->vf_netdev 2016-08-15 13:48:07 -07:00
netvsc.c hv_netvsc: don't lose VF information 2016-08-15 13:48:07 -07:00
rndis_filter.c netvsc: get rid of completion timeouts 2016-06-09 11:40:05 -07:00