android_kernel_xiaomi_sm8350/net/8021q
Eric Dumazet 0641e4fbf2 net: Potential null skb->dev dereference
When doing "ifenslave -d bond0 eth0", there is chance to get NULL
dereference in netif_receive_skb(), because dev->master suddenly becomes
NULL after we tested it.

We should use ACCESS_ONCE() to avoid this (or rcu_dereference())

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-18 21:16:45 -07:00
..
Kconfig
Makefile
vlan_core.c net: Potential null skb->dev dereference 2010-03-18 21:16:45 -07:00
vlan_dev.c net: maintain namespace isolation between vlan and real device 2010-02-03 20:20:32 -08:00
vlan_gvrp.c
vlan_netlink.c vlan: support "loose binding" to the underlying network device 2009-11-26 16:00:36 -08:00
vlan.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
vlan.h percpu: add __percpu sparse annotations to net 2010-02-16 23:05:38 -08:00
vlanproc.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
vlanproc.h