2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00
linux-next/drivers/net/hyperv
stephen hemminger 0719e72ccb netvsc: add rcu_read locking to netvsc callback
The receive callback (in tasklet context) is using RCU to get reference
to associated VF network device but this is not safe. RCU read lock
needs to be held. Found by running with full lockdep debugging
enabled.

Fixes: f207c10d98 ("hv_netvsc: use RCU to protect vf_netdev")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-11 16:13:53 -05:00
..
hyperv_net.h net: use core MTU range checking in virt drivers 2016-10-20 14:51:09 -04:00
Kconfig
Makefile
netvsc_drv.c netvsc: add rcu_read locking to netvsc callback 2017-01-11 16:13:53 -05:00
netvsc.c hv_netvsc: remove excessive logging on MTU change 2016-11-29 20:50:07 -05:00
rndis_filter.c hv_netvsc: remove excessive logging on MTU change 2016-11-29 20:50:07 -05:00