commit | 0ad92ad03aa444b312bd318b0341011a8be09d13 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Nov 01 12:56:59 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 02 00:51:27 2011 -0400 |
tree | a6acc6651c301af1a5c7edd4258a441da091bfd3 | |
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>