kernel_optimize_test/drivers/net/hyperv
Stephen Hemminger 8737caafd1 hv_netvsc: fix rtnl locking in callback
The function get_netvsc_net_device had conditional locking. This was
unnecessary, incorrect, but harmless. It was unnecessary since the
code is only called from netlink netdev event callback where RTNL
is always acquired before the callbacks are run. It was incorrect
because of use of trylock and then continuing.
Fix by replacing with proper assertion.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-23 12:05:35 -07:00
..
hyperv_net.h hv_netvsc: Implement batching of receive completions 2016-08-19 22:41:19 -07:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: fix rtnl locking in callback 2016-08-23 12:05:35 -07:00
netvsc.c hv_netvsc: Implement batching of receive completions 2016-08-19 22:41:19 -07:00
rndis_filter.c hv_netvsc: Implement batching of receive completions 2016-08-19 22:41:19 -07:00