git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501e89d
)
udp: fix a race in encap_rcv handling
author
Eric Dumazet
<eric.dumazet@gmail.com>
Tue, 1 Nov 2011 12:56:59 +0000
(12:56 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Nov 2011 04:51:27 +0000
(
00:51
-0400)
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>
No differences found