Eric Dumazet
0bcceadceb
[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>
2008-01-10 03:55:57 -08:00
..
2007-12-05 05:37:27 -08:00
2007-12-26 19:36:33 -08:00
2007-11-01 00:39:31 -07:00
2007-11-02 08:47:06 +01:00
2007-12-19 23:38:11 -08:00
2007-10-26 04:29:08 -07:00
2007-06-03 18:08:50 -07:00
2008-01-04 03:55:34 -08:00
2007-12-11 02:45:26 -08:00
2007-12-21 02:01:53 -08:00
2007-10-10 16:55:33 -07:00
2007-05-24 16:36:53 -07:00
2007-11-10 22:12:03 -08:00
2007-10-10 16:49:16 -07:00
2007-10-19 11:53:41 -07:00
2007-10-26 04:06:08 -07:00
2007-10-10 16:55:33 -07:00
2007-10-18 22:00:17 -07:00
2007-12-03 15:51:25 +11:00
2007-10-17 19:48:26 -07:00
2007-11-07 04:15:11 -08:00
2008-01-08 23:30:18 -08:00
2007-11-07 04:15:11 -08:00
2007-11-12 21:27:28 -08:00
2007-10-15 12:26:35 -07:00
2007-10-17 21:37:22 -07:00
2007-12-20 00:10:33 -08:00
2007-10-15 12:26:35 -07:00
2007-07-31 14:06:45 -07:00
2007-11-07 04:08:25 -08:00
2007-11-07 04:08:55 -08:00
2007-11-07 04:15:03 -08:00
2008-01-08 23:29:58 -08:00
2007-10-23 21:27:55 -07:00
2007-10-10 16:55:33 -07:00
2007-10-20 01:34:40 +02:00
2007-10-15 12:26:39 -07:00
2007-10-15 12:26:29 -07:00
2007-11-07 04:08:57 -08:00
2007-04-25 22:28:20 -07:00
2008-01-08 23:29:57 -08:00
2008-01-10 03:55:57 -08:00
2007-04-25 22:25:26 -07:00
2007-11-19 23:28:21 -08:00
2007-10-10 16:47:55 -07:00
2007-07-18 01:46:58 -07:00
2007-10-10 16:47:55 -07:00
2007-10-22 02:59:54 -07:00
2007-07-18 01:46:58 -07:00
2007-08-07 18:29:05 -07:00
2007-07-18 01:46:58 -07:00
2007-11-30 01:10:55 +11:00
2007-12-29 19:11:21 -08:00
2007-11-20 17:30:31 -08:00
2007-07-31 02:27:57 -07:00
2007-10-10 16:48:00 -07:00
2007-12-05 05:37:31 -08:00
2007-10-10 16:49:06 -07:00
2007-07-18 01:46:58 -07:00
2007-10-10 16:48:00 -07:00
2007-10-29 22:37:25 -07:00
2007-07-31 02:27:57 -07:00
2007-07-31 02:27:57 -07:00
2007-07-31 02:27:57 -07:00
2007-07-31 02:27:57 -07:00
2007-11-07 04:15:11 -08:00
2007-11-10 21:48:54 -08:00
2007-10-10 16:48:31 -07:00
2007-11-07 04:08:58 -08:00
2007-11-07 04:08:58 -08:00
2007-10-17 21:35:51 -07:00
2007-10-17 21:31:50 -07:00
2007-10-10 16:55:54 -07:00
2007-10-17 21:31:50 -07:00
2007-10-17 21:35:51 -07:00
2007-10-17 21:35:51 -07:00
2007-10-17 21:33:12 -07:00
2007-10-17 21:28:53 -07:00