android_kernel_sony_sdm845/drivers/net/hyperv
Repository files (latest commit first)
Filename Latest commit message Latest commit date
stephen hemminger 5b3df44010 netvsc: add rcu_read locking to netvsc callback
[ Upstream commit 0719e72ccb801829a3d735d187ca8417f0930459 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-04 09:47:08 +01:00
..
hyperv_net.h hv_netvsc: fix comments 2016-09-24 09:36:12 -04:00
Kconfig
Makefile
netvsc.c hv_netvsc: use consume_skb 2016-09-23 08:39:48 -04:00
netvsc_drv.c netvsc: add rcu_read locking to netvsc callback 2017-02-04 09:47:08 +01:00
rndis_filter.c hv_netvsc: style cleanups 2016-08-23 12:05:36 -07:00