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
..
2010-02-10 12:31:10 -08:00
2010-02-18 14:30:18 -08:00
2010-03-18 20:29:24 -07:00
2010-02-10 12:31:10 -08:00
2010-02-18 14:30:18 -08:00
2010-02-22 16:21:12 -08:00
2010-03-05 13:34:03 -08:00
2010-03-15 16:00:47 -07:00
2010-03-02 14:28:49 -05:00
2010-02-18 14:12:06 -08:00
2010-02-18 14:30:18 -08:00
2010-03-05 13:34:03 -08:00
2010-03-03 01:04:37 -08:00