summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/af_rxrpc.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-01-10 12:55:57 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-10 12:55:57 +0100
commit0bcceadceb0907094ba4e40bf9a7cd9b080f13fb (patch)
tree6cec2343354c5a22107eb53da276ab744519033a /net/rxrpc/af_rxrpc.c
parent[NEIGH]: Fix race between neigh_parms_release and neightbl_fill_parms (diff)
downloadlinux-0bcceadceb0907094ba4e40bf9a7cd9b080f13fb.tar.xz
linux-0bcceadceb0907094ba4e40bf9a7cd9b080f13fb.zip
[IPV4] ROUTE: fix rcu_dereference() uses in /proc/net/rt_cache
In rt_cache_get_next(), no need to guard seq->private by a rcu_dereference() since seq is private to the thread running this function. Reading seq.private once (as guaranted bu rcu_dereference()) or several time if compiler really is dumb enough wont change the result. But we miss real spots where rcu_dereference() are needed, both in rt_cache_get_first() and rt_cache_get_next() Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/af_rxrpc.c')
0 files changed, 0 insertions, 0 deletions