dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/linux/netfilter_ipv4
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
..
Kbuild [NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port 2006-12-02 22:08:46 -08:00
ip_conntrack.h [NETFILTER]: ip_conntrack: fix invalid conntrack statistics RCU assumption 2007-02-12 11:13:14 -08:00
ip_conntrack_amanda.h
ip_conntrack_core.h
ip_conntrack_ftp.h [NETFILTER]: nf_nat: add FTP NAT helper port 2006-12-02 22:07:44 -08:00
ip_conntrack_h323.h [NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port 2006-12-02 22:08:46 -08:00
ip_conntrack_helper.h [NETFILTER]: PPTP conntrack: fix another GRE keymap leak 2006-09-22 15:20:20 -07:00
ip_conntrack_icmp.h
ip_conntrack_irc.h
ip_conntrack_pptp.h [NETFILTER]: PPTP conntrack: simplify expectation handling 2006-09-22 15:20:13 -07:00
ip_conntrack_proto_gre.h [NET]: netfilter checksum annotations 2006-12-02 21:23:42 -08:00
ip_conntrack_protocol.h
ip_conntrack_sctp.h
ip_conntrack_sip.h [NETFILTER]: sip conntrack: better NAT handling 2006-12-02 21:31:26 -08:00
ip_conntrack_tcp.h
ip_conntrack_tftp.h [NETFILTER]: More trivial annotations. 2006-12-02 21:22:54 -08:00
ip_conntrack_tuple.h [NETFILTER]: conntrack annotations 2006-09-28 18:03:00 -07:00
ip_nat.h [NETFILTER]: NAT: optional source port randomization support 2007-02-08 12:39:17 -08:00
ip_nat_core.h [NETFILTER]: Get rid of HW checksum invalidation 2006-09-22 14:53:54 -07:00
ip_nat_helper.h
ip_nat_pptp.h [NETFILTER]: PPTP conntrack: get rid of unnecessary byte order conversions 2006-09-22 15:20:08 -07:00
ip_nat_protocol.h
ip_nat_rule.h
ip_queue.h [NETFILTER]: netfilter misc annotations 2006-09-28 18:02:59 -07:00
ip_tables.h [NETFILTER]: ip_tables: remove declaration of non-existant ipt_find_target function 2007-02-08 12:39:22 -08:00
ipt_CLASSIFY.h
ipt_CLUSTERIP.h
ipt_CONNMARK.h
ipt_DSCP.h [NETFILTER]: x_tables: replace IPv4 DSCP target by address family independent version 2006-09-22 14:55:22 -07:00
ipt_ECN.h
ipt_LOG.h [NETFILTER]: x_tables: add NFLOG target 2006-12-02 21:31:31 -08:00
ipt_MARK.h
ipt_NFQUEUE.h
ipt_REJECT.h
ipt_SAME.h
ipt_TCPMSS.h [NETFILTER]: add IPv6-capable TCPMSS target 2007-02-08 12:39:16 -08:00
ipt_TOS.h
ipt_TTL.h
ipt_ULOG.h
ipt_addrtype.h
ipt_ah.h
ipt_comment.h
ipt_connbytes.h
ipt_connmark.h
ipt_conntrack.h
ipt_dccp.h
ipt_dscp.h [NETFILTER]: x_tables: replace IPv4 dscp match by address family independent version 2006-09-22 14:55:21 -07:00
ipt_ecn.h
ipt_esp.h
ipt_hashlimit.h [NETFILTER]: x_tables: add port of hashlimit match for IPv4 and IPv6 2006-12-02 21:31:31 -08:00
ipt_helper.h
ipt_iprange.h [NETFILTER]: ipt annotations 2006-09-28 18:03:02 -07:00
ipt_length.h
ipt_limit.h
ipt_mac.h
ipt_mark.h
ipt_multiport.h
ipt_owner.h
ipt_physdev.h
ipt_pkttype.h
ipt_policy.h
ipt_realm.h
ipt_recent.h
ipt_sctp.h
ipt_state.h
ipt_string.h
ipt_tcpmss.h
ipt_tos.h
ipt_ttl.h