diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-11-01 16:56:59 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-02 08:51:27 +0400 |
commit | 0ad92ad03aa444b312bd318b0341011a8be09d13 (patch) | |
tree | a6acc6651c301af1a5c7edd4258a441da091bfd3 /net/ipv4/ip_fragment.c | |
parent | 501e89d3aef10f9a5b79137fbb0bcd5bf9cac2ac (diff) | |
download | linux-0ad92ad03aa444b312bd318b0341011a8be09d13.tar.xz |
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/ipv4/ip_fragment.c')
0 files changed, 0 insertions, 0 deletions