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/ipv4/fib_frontend.c | |
parent | 501e89d3aef10f9a5b79137fbb0bcd5bf9cac2ac (diff) |
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/fib_frontend.c')
0 files changed, 0 insertions, 0 deletions