Eric Dumazet 0d89d7944f [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>
2008-01-10 22:35:21 -08:00
..
2007-12-16 13:35:51 -08:00
2007-12-20 13:59:39 -08:00
2007-12-20 14:03:11 -08:00
2007-11-29 18:08:48 -05:00
2007-12-07 04:31:47 -08:00
2007-12-20 14:02:40 -08:00
2007-12-14 13:54:37 -08:00
2008-01-04 00:47:02 -08:00