linux/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 vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
Makefile vlan: uninline __vlan_hwaccel_rx 2008-07-08 03:23:36 -07: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
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: TCI related type and naming cleanups 2008-07-08 03:24:44 -07:00
vlan_netlink.c vlan: support "loose binding" to the underlying network device 2009-11-26 16:00:36 -08:00
vlanproc.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
vlanproc.h [VLAN]: Add a net argument to proc init and cleanup calls. 2008-04-16 00:51:12 -07:00