linux_dsm_epyc7002/drivers/net/hyperv
Stephen Hemminger 3ffe64f1a6 hv_netvsc: split sub-channel setup into async and sync
When doing device hotplug the sub channel must be async to avoid
deadlock issues because device is discovered in softirq context.

When doing changes to MTU and number of channels, the setup
must be synchronous to avoid races such as when MTU and device
settings are done in a single ip command.

Reported-by: Thomas Walker <Thomas.Walker@twosigma.com>
Fixes: 8195b1396e ("hv_netvsc: fix deadlock on hotplug")
Fixes: 732e49850c ("netvsc: fix race on sub channel creation")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-30 21:28:36 +09:00
..
hyperv_net.h hv_netvsc: split sub-channel setup into async and sync 2018-06-30 21:28:36 +09:00
Kconfig hv_netvsc: drop common code until callback model fixed 2018-06-12 15:22:28 -07:00
Makefile hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_drv.c hv_netvsc: split sub-channel setup into async and sync 2018-06-30 21:28:36 +09:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc.c hv_netvsc: split sub-channel setup into async and sync 2018-06-30 21:28:36 +09:00
rndis_filter.c hv_netvsc: split sub-channel setup into async and sync 2018-06-30 21:28:36 +09:00