linux/drivers/net/hyperv
stephen hemminger 43c7bd1ffc netvsc: use refcount_t for keeping track of sub channels
Rather than a lock and variable, use a refcount_t to keep track
of the number of sub channels.  Don't need to wait for subchannels
on device removal since wait was already done in device_add.

Also fix the error handling; don't wait forever in case of
an error on request to create sub channels.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-22 19:38:56 -07:00
..
hyperv_net.h netvsc: use refcount_t for keeping track of sub channels 2017-03-22 19:38:56 -07:00
Kconfig
Makefile
netvsc_drv.c netvsc: uses RCU instead of removal flag 2017-03-22 19:38:56 -07:00
netvsc.c netvsc: uses RCU instead of removal flag 2017-03-22 19:38:56 -07:00
rndis_filter.c netvsc: use refcount_t for keeping track of sub channels 2017-03-22 19:38:56 -07:00