2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/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
..
hyperv_net.h hv_netvsc: Fix the array sizes to be max supported channels 2016-03-23 14:38:55 -04:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: Fix accessing freed memory in netvsc_change_mtu() 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
rndis_filter.c hv_netvsc: Fix the order of num_sc_offered decrement 2016-03-23 21:51:08 -04:00