summaryrefslogtreecommitdiffstats
path: root/kernel/posix-cpu-timers.c
diff options
context:
space:
mode:
authorEric Dumazet2010-03-19 05:16:45 +0100
committerDavid S. Miller2010-03-19 05:16:45 +0100
commit0641e4fbf2f824faee00ea74c459a088d94905fd (patch)
tree54fdd8bc2e3a928ff0f7621c06e1e604eaf0529c /kernel/posix-cpu-timers.c
parentjme: Advance driver version number (diff)
downloadkernel-qcow2-linux-0641e4fbf2f824faee00ea74c459a088d94905fd.tar.gz
kernel-qcow2-linux-0641e4fbf2f824faee00ea74c459a088d94905fd.tar.xz
kernel-qcow2-linux-0641e4fbf2f824faee00ea74c459a088d94905fd.zip
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>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions