2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00
linux-next/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 [NETFILTER]: nf_conntrack: /proc compatibility with old connection tracking 2006-12-02 21:31:20 -08:00
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 [NETFILTER]: nf_conntrack: sysctl compatibility with old connection tracking 2006-12-02 21:31:19 -08:00
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 [NETFILTER]: nf_queue: handle GSO packets 2006-09-22 14:53:55 -07:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_sysctl.c [NETFILTER]: nf_conntrack: automatic sysctl registation for conntrack protocols 2006-12-02 21:31:17 -08:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
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 [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_dscp.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_DSCP.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_esp.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
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 [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
xt_limit.c [NETFILTER]: xt_limit: add compat conversion functions 2006-09-22 15:20:06 -07:00
xt_mac.c [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
xt_mark.c [NET]: Turn nfmark into generic mark 2006-12-02 21:21:38 -08:00
xt_MARK.c [NETFILTER]: Remove useless comparisons before assignments 2007-02-08 12:39:11 -08:00
xt_multiport.c [NET]: Supporting UDP-Lite (RFC 3828) in Linux 2006-12-02 21:22:46 -08:00
xt_NFLOG.c [NETFILTER]: x_tables: add NFLOG target 2006-12-02 21:31:31 -08:00
xt_NFQUEUE.c [NETFILTER]: fix cut-and-paste error in exit functions 2006-10-15 23:14:06 -07:00
xt_NOTRACK.c [NETFILTER]: x_tables: remove unused argument to target functions 2006-09-22 14:55:33 -07:00
xt_physdev.c [NETFILTER]: bridge-netfilter: remove deferred hooks 2006-12-13 16:54:25 -08:00
xt_pkttype.c [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
xt_policy.c [NETFILTER]: xt_policy: remove dups in .family 2006-09-22 15:19:56 -07:00
xt_quota.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_realm.c [NETFILTER]: Rename init functions. 2006-03-28 17:02:48 -08:00
xt_sctp.c [SCTP]: Netfilter sctp annotations. 2006-12-02 21:27:12 -08:00
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 [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_string.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_tcpmss.c [NETFILTER]: xt_tcpmss: minor cleanups 2006-09-22 14:55:38 -07:00
xt_TCPMSS.c [NETFILTER]: add IPv6-capable TCPMSS target 2007-02-08 12:39:16 -08:00
xt_tcpudp.c [NET]: Supporting UDP-Lite (RFC 3828) in Linux 2006-12-02 21:22:46 -08:00