Patrick McHardy
abbaccda4c
[NETFILTER]: ip_conntrack: fix invalid conntrack statistics RCU assumption
...
CONNTRACK_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 ip_conntrack_lock.
Add CONNTRACK_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:14 -08:00
..
2007-02-12 09:48:46 -08:00
2007-02-12 11:13:14 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2006-12-02 21:31:38 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2006-09-28 18:02:23 -07:00
2006-12-02 21:22:11 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-08 14:16:46 -08:00
2006-12-07 08:39:25 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2006-12-02 21:31:47 -08:00
2006-12-02 21:22:46 -08:00
2007-02-10 23:20:50 -08:00
2007-02-10 23:20:50 -08:00
2007-02-10 23:20:50 -08:00
2007-02-10 23:20:50 -08:00
2005-04-16 15:20:36 -07:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:46 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-22 15:18:04 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-06-30 19:25:36 +02:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-22 15:18:13 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-28 18:03:07 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2006-06-30 19:25:36 +02:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-22 15:18:13 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-04-09 22:25:25 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:20:29 -08:00
2006-12-02 21:31:51 -08:00
2007-02-10 23:19:39 -08:00
2006-10-04 00:31:09 -07:00
2006-09-22 15:18:48 -07:00
2007-02-08 12:39:01 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-08 12:39:00 -08:00
2007-02-10 23:19:39 -08:00