linux/drivers/net/hyperv
Haiyang Zhang 3f735131d9 hv_netvsc: Fix the order of num_sc_offered decrement
Reorder the code in netvsc_sc_open(), so num_sc_offered is only decremented
after vmbus_open() is called. This avoid pontential race of removing device
before all channels are setup.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-23 21:51:08 -04:00
..
Kconfig staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
Makefile staging: hv: move hv_netvsc out of staging area 2011-11-29 16:12:36 +09:00
hyperv_net.h hv_netvsc: Fix the array sizes to be max supported channels 2016-03-23 14:38:55 -04:00
netvsc.c hv_netvsc: Fix book keeping of skb during batching process 2016-01-25 10:51:53 -08:00
netvsc_drv.c hv_netvsc: Fix accessing freed memory in netvsc_change_mtu() 2016-03-23 14:38:55 -04:00
rndis_filter.c hv_netvsc: Fix the order of num_sc_offered decrement 2016-03-23 21:51:08 -04:00