linux/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
..
core.c [NETFILTER]: Switch nf_register_hook/nf_unregister_hook to mutex 2007-02-12 11:10:14 -08:00
Kconfig [NETFILTER]: add IPv6-capable TCPMSS target 2007-02-08 12:39:16 -08:00
Makefile [NETFILTER]: add IPv6-capable TCPMSS target 2007-02-08 12:39:16 -08:00
nf_conntrack_amanda.c [NETFILTER]: nf_conntrack: fix header inclusions for helpers 2006-12-02 22:12:54 -08:00
nf_conntrack_core.c [NETFILTER]: nf_conntrack: fix invalid conntrack statistics RCU assumption 2007-02-12 11:13:43 -08:00
nf_conntrack_ecache.c [NETFILTER]: nf_conntrack: fix header inclusions for helpers 2006-12-02 22:12:54 -08:00
nf_conntrack_expect.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
nf_conntrack_ftp.c [NETFILTER]: nf_nat: add FTP NAT helper port 2006-12-02 22:07:44 -08:00
nf_conntrack_h323_asn1.c [NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port 2006-12-02 22:08:46 -08:00
nf_conntrack_h323_main.c [NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port 2006-12-02 22:08:46 -08:00
nf_conntrack_h323_types.c [NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port 2006-12-02 22:08:46 -08:00
nf_conntrack_helper.c [NETFILTER]: nf_conntrack: EXPORT_SYMBOL cleanup 2006-12-02 22:11:25 -08:00
nf_conntrack_irc.c [NETFILTER]: nf_conntrack/nf_nat: add IRC helper port 2006-12-02 22:09:06 -08:00
nf_conntrack_l3proto_generic.c
nf_conntrack_netbios_ns.c [NETFILTER]: nf_conntrack_netbios_ns: fix uninitialized member in expectation 2007-01-09 00:30:07 -08:00
nf_conntrack_netlink.c [NETFILTER]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n 2007-02-02 19:33:11 -08:00
nf_conntrack_pptp.c [NETFILTER]: nf_conntrack_pptp: fix NAT setup of expected GRE connections 2007-01-26 01:07:59 -08:00
nf_conntrack_proto_generic.c
nf_conntrack_proto_gre.c [NETFILTER]: nf_conntrack/nf_nat: add PPTP helper port 2006-12-02 22:09:41 -08:00
nf_conntrack_proto_sctp.c [NETFILTER]: nf_conntrack: add module aliases to IPv4 conntrack names 2006-12-02 22:06:05 -08:00
nf_conntrack_proto_tcp.c [NETFILTER]: tcp conntrack: do liberal tracking for picked up connections 2007-02-08 12:39:10 -08:00
nf_conntrack_proto_udp.c [NETFILTER]: nf_conntrack: EXPORT_SYMBOL cleanup 2006-12-02 22:11:25 -08:00
nf_conntrack_proto.c [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_sane.c [NETFILTER]: Add SANE connection tracking helper 2007-02-08 12:39:09 -08:00
nf_conntrack_sip.c [NETFILTER]: SIP conntrack: fix out of bounds memory access 2007-01-30 14:25:24 -08:00
nf_conntrack_standalone.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
nf_conntrack_tftp.c [NETFILTER]: nf_conntrack: fix header inclusions for helpers 2006-12-02 22:12:54 -08:00
nf_internals.h
nf_log.c [NETFILTER]: nf_log: minor cleanups 2007-02-12 11:11:55 -08:00
nf_queue.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
nf_sockopt.c
nf_sysctl.c
nfnetlink_log.c [NETFILTER]: nf_log: minor cleanups 2007-02-12 11:11:55 -08:00
nfnetlink_queue.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
nfnetlink.c
x_tables.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
xt_CLASSIFY.c [NETFILTER]: Remove useless comparisons before assignments 2007-02-08 12:39:11 -08:00
xt_comment.c
xt_connbytes.c [NETFILTER]: xt_connbytes: fix division by zero 2007-01-30 14:24:29 -08:00
xt_connmark.c [NETFILTER]: x_tables: error if ip_conntrack is asked to handle IPv6 packets 2006-12-13 16:48:20 -08:00
xt_CONNMARK.c [NETFILTER]: Remove useless comparisons before assignments 2007-02-08 12:39:11 -08:00
xt_CONNSECMARK.c [NETFILTER]: Remove useless comparisons before assignments 2007-02-08 12:39:11 -08:00
xt_conntrack.c [NETFILTER]: x_tables: error if ip_conntrack is asked to handle IPv6 packets 2006-12-13 16:48:20 -08:00
xt_dccp.c
xt_dscp.c
xt_DSCP.c
xt_esp.c
xt_hashlimit.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
xt_helper.c [NETFILTER]: x_tables: error if ip_conntrack is asked to handle IPv6 packets 2006-12-13 16:48:20 -08:00
xt_length.c
xt_limit.c
xt_mac.c
xt_mark.c
xt_MARK.c [NETFILTER]: Remove useless comparisons before assignments 2007-02-08 12:39:11 -08:00
xt_multiport.c
xt_NFLOG.c [NETFILTER]: x_tables: add NFLOG target 2006-12-02 21:31:31 -08:00
xt_NFQUEUE.c
xt_NOTRACK.c
xt_physdev.c [NETFILTER]: bridge-netfilter: remove deferred hooks 2006-12-13 16:54:25 -08:00
xt_pkttype.c
xt_policy.c
xt_quota.c
xt_realm.c
xt_sctp.c
xt_SECMARK.c [NETFILTER]: Remove useless comparisons before assignments 2007-02-08 12:39:11 -08:00
xt_state.c [NETFILTER]: x_tables: error if ip_conntrack is asked to handle IPv6 packets 2006-12-13 16:48:20 -08:00
xt_statistic.c
xt_string.c
xt_tcpmss.c
xt_TCPMSS.c [NETFILTER]: add IPv6-capable TCPMSS target 2007-02-08 12:39:16 -08:00
xt_tcpudp.c