linux/include/net/netfilter
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
..
ipv4 [NETFILTER]: nf_conntrack/nf_nat: add PPTP helper port 2006-12-02 22:09:41 -08:00
ipv6 [NETFILTER]: nf_conntrack: move extern declaration to header files 2006-12-02 21:31:16 -08:00
nf_conntrack_compat.h [NETFILTER]: fix xt_state compile failure 2007-01-23 20:25:43 -08:00
nf_conntrack_core.h [NETFILTER]: nf_conntrack: rename struct nf_conntrack_protocol 2006-12-02 21:31:09 -08:00
nf_conntrack_ecache.h [NETFILTER]: nf_conntrack: split out the event cache 2006-12-02 21:31:06 -08:00
nf_conntrack_expect.h [PATCH] mark struct file_operations const 1 2007-02-12 09:48:44 -08:00
nf_conntrack_helper.h [NETFILTER]: nf_conntrack/nf_nat: add PPTP helper port 2006-12-02 22:09:41 -08:00
nf_conntrack_l3proto.h [NETFILTER]: nf_conntrack: properly use RCU API for nf_ct_protos/nf_ct_l3protos arrays 2007-02-12 11:12:57 -08:00
nf_conntrack_l4proto.h [NETFILTER]: nf_conntrack: sysctl compatibility with old connection tracking 2006-12-02 21:31:19 -08:00
nf_conntrack_tuple.h [NETFILTER]: nf_conntrack/nf_nat: add PPTP helper port 2006-12-02 22:09:41 -08:00
nf_conntrack.h [NETFILTER]: nf_conntrack: fix invalid conntrack statistics RCU assumption 2007-02-12 11:13:43 -08:00
nf_nat_core.h [NETFILTER]: Add NAT support for nf_conntrack 2006-12-02 22:07:13 -08:00
nf_nat_helper.h [NETFILTER]: Add NAT support for nf_conntrack 2006-12-02 22:07:13 -08:00
nf_nat_protocol.h [NETFILTER]: Add NAT support for nf_conntrack 2006-12-02 22:07:13 -08:00
nf_nat_rule.h [NETFILTER]: Add NAT support for nf_conntrack 2006-12-02 22:07:13 -08:00
nf_nat.h [NETFILTER]: NAT: optional source port randomization support 2007-02-08 12:39:17 -08:00