[PATCH net 0/4] hv_netvsc: fixes for VF removal path

From: Vitaly Kuznetsov
Date: Thu Aug 11 2016 - 06:59:39 EST


Kernel crash is reported after VF is removed and detached from netvsc
device. My investigation led me to PATCH2 of this series but PATCH1 is
required to support the change. I also noticed a couple of other issues
while debugging and I fix them with PATCH3 and PATCH4.

Please review.

Vitaly Kuznetsov (4):
hv_netvsc: don't lose VF information
hv_netvsc: reset vf_inject on VF removal
hv_netvsc: protect module refcount by checking
net_device_ctx->vf_netdev
hv_netvsc: avoid deadlocks between rtnl lock and
netvsc_inject_disable()

drivers/net/hyperv/hyperv_net.h | 24 ++++-------
drivers/net/hyperv/netvsc.c | 19 ++++----
drivers/net/hyperv/netvsc_drv.c | 96 ++++++++++++++++++-----------------------
3 files changed, 59 insertions(+), 80 deletions(-)

--
2.7.4