Patrick McHardy
de9963f0f2
netfilter: nf_iterate: fix incorrect RCU usage
...
As noticed by Eric, nf_iterate doesn't use RCU correctly by
accessing the prev pointer of a RCU protected list element when
a verdict of NF_REPEAT is issued.
Fix by jumping backwards to the hook invocation directly instead
of loading the previous list element before continuing the list
iteration.
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-02-14 17:35:07 +01:00
..
2010-12-08 09:56:28 -08:00
2010-10-25 13:09:44 -07:00
2010-11-28 10:47:19 -08:00
2011-01-07 16:58:04 -08:00
2011-01-12 00:34:49 -08:00
2011-01-16 03:25:19 +01:00
2011-01-04 14:25:28 -05:00
2011-01-06 11:33:05 -08:00
2011-01-15 20:58:11 -08:00
2011-01-15 20:56:42 -08:00
2010-12-26 22:37:05 -08:00
2011-01-19 14:15:21 -08:00
2011-01-06 11:16:54 -08:00
2011-01-07 12:22:44 +01:00
2010-12-14 13:01:14 -08:00
2010-11-22 08:16:10 -08:00
2010-12-24 15:59:06 +01:00
2010-12-17 12:27:22 -08:00
2011-01-12 19:00:40 -08:00
2010-12-08 10:07:24 -08:00
2011-02-01 16:03:46 +01:00
2011-01-18 16:13:49 -08:00
2010-10-21 15:44:13 +02:00
2010-12-26 22:37:05 -08:00
2011-01-05 12:47:25 +01:00
2010-09-23 14:33:39 -07:00
2010-12-08 13:47:38 -08:00
2010-11-22 08:16:14 -08:00
2010-12-08 10:07:24 -08:00
2011-01-13 15:46:45 -05:00
2011-02-14 17:35:07 +01:00
2010-12-19 21:59:35 -08:00
2011-01-19 13:34:20 -08:00
2010-12-16 14:43:14 -08:00
2011-01-10 13:33:17 -08:00
2010-11-22 08:16:15 -08:00
2010-11-15 13:24:06 -05:00
2010-09-27 01:03:03 -07:00
2010-11-22 08:16:15 -08:00
2011-01-13 21:44:34 -08:00
2011-01-19 16:51:29 -08:00
2011-01-07 16:58:04 -08:00
2011-01-01 14:56:18 -08:00
2011-01-05 15:38:53 -08:00
2010-11-22 08:16:16 -08:00
2011-01-04 14:43:01 -05:00
2010-12-08 13:47:38 -08:00
2011-01-19 13:34:20 -08:00
2010-10-28 11:47:52 -07:00
2010-12-16 13:44:24 -08:00
2010-12-16 13:44:24 -08:00
2010-10-15 15:53:27 +02:00
2011-01-07 08:56:33 -08:00