summaryrefslogtreecommitdiff
path: root/net/appletalk
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-01-11 06:35:21 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-01-11 06:35:21 (GMT)
commit0d89d7944fead211422e21fb7ea70ed3b903a79e (patch)
tree78886ab5b6397fa4446e251ffdfe3f1329947792 /net/appletalk
parent5c5482266537fdb24d6b8462540d8f65a6007a97 (diff)
downloadlinux-fsl-qoriq-0d89d7944fead211422e21fb7ea70ed3b903a79e.tar.xz
[DECNET] ROUTE: fix rcu_dereference() uses in /proc/net/decnet_cache
In dn_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 dn_rt_cache_get_first() and dn_rt_cache_get_next() Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions