Patrick McHardy
c0e912d7ed
[NETFILTER]: nf_conntrack: fix invalid conntrack statistics RCU assumption
...
NF_CT_STAT_INC assumes rcu_read_lock in nf_hook_slow disables
preemption as well, making it legal to use __get_cpu_var without
disabling preemption manually. The assumption is not correct anymore
with preemptable RCU, additionally we need to protect against softirqs
when not holding nf_conntrack_lock.
Add NF_CT_STAT_INC_ATOMIC macro, which disables local softirqs,
and use where necessary.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-02-12 11:13:43 -08:00
..
2007-02-12 11:10:14 -08:00
2007-02-08 12:39:16 -08:00
2007-02-08 12:39:16 -08:00
2006-12-02 22:12:54 -08:00
2007-02-12 11:13:43 -08:00
2006-12-02 22:12:54 -08:00
2007-02-12 09:48:46 -08:00
2006-12-02 22:07:44 -08:00
2006-12-02 22:08:46 -08:00
2006-12-02 22:08:46 -08:00
2006-12-02 22:08:46 -08:00
2006-12-02 22:11:25 -08:00
2006-12-02 22:09:06 -08:00
2006-12-02 21:31:20 -08:00
2007-01-09 00:30:07 -08:00
2007-02-02 19:33:11 -08:00
2007-01-26 01:07:59 -08:00
2006-12-02 21:31:19 -08:00
2006-12-02 22:09:41 -08:00
2006-12-02 22:06:05 -08:00
2007-02-08 12:39:10 -08:00
2006-12-02 22:11:25 -08:00
2007-02-12 11:12:57 -08:00
2007-02-08 12:39:09 -08:00
2007-01-30 14:25:24 -08:00
2007-02-12 09:48:46 -08:00
2006-12-02 22:12:54 -08:00
2006-09-22 14:53:55 -07:00
2007-02-12 11:11:55 -08:00
2007-02-12 09:48:46 -08:00
2006-06-30 19:25:36 +02:00
2006-12-02 21:31:17 -08:00
2007-02-12 11:11:55 -08:00
2007-02-12 09:48:46 -08:00
2006-06-30 19:25:36 +02:00
2007-02-12 09:48:46 -08:00
2007-02-08 12:39:11 -08:00
2006-09-22 14:55:32 -07:00
2007-01-30 14:24:29 -08:00
2006-12-13 16:48:20 -08:00
2007-02-08 12:39:11 -08:00
2007-02-08 12:39:11 -08:00
2006-12-13 16:48:20 -08:00
2006-09-22 14:55:34 -07:00
2006-09-22 14:55:34 -07:00
2006-09-22 14:55:34 -07:00
2006-09-22 14:55:34 -07:00
2007-02-12 09:48:46 -08:00
2006-12-13 16:48:20 -08:00
2006-09-22 14:55:32 -07:00
2006-09-22 15:20:06 -07:00
2006-09-22 14:55:32 -07:00
2006-12-02 21:21:38 -08:00
2007-02-08 12:39:11 -08:00
2006-12-02 21:22:46 -08:00
2006-12-02 21:31:31 -08:00
2006-10-15 23:14:06 -07:00
2006-09-22 14:55:33 -07:00
2006-12-13 16:54:25 -08:00
2006-09-22 14:55:32 -07:00
2006-09-22 15:19:56 -07:00
2006-09-22 14:55:34 -07:00
2006-03-28 17:02:48 -08:00
2006-12-02 21:27:12 -08:00
2007-02-08 12:39:11 -08:00
2006-12-13 16:48:20 -08:00
2006-09-22 14:55:34 -07:00
2006-09-22 14:55:34 -07:00
2006-09-22 14:55:38 -07:00
2007-02-08 12:39:16 -08:00
2006-12-02 21:22:46 -08:00