diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-11-01 12:56:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-02 00:51:27 -0400 |
commit | 0ad92ad03aa444b312bd318b0341011a8be09d13 (patch) | |
tree | a6acc6651c301af1a5c7edd4258a441da091bfd3 /net/netlink | |
parent | 501e89d3aef10f9a5b79137fbb0bcd5bf9cac2ac (diff) | |
download | op-kernel-dev-0ad92ad03aa444b312bd318b0341011a8be09d13.zip op-kernel-dev-0ad92ad03aa444b312bd318b0341011a8be09d13.tar.gz |
udp: fix a race in encap_rcv handling
udp_queue_rcv_skb() has a possible race in encap_rcv handling, since
this pointer can be changed anytime.
We should use ACCESS_ONCE() to close the race.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions