linux/net
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
..
802 [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
8021q [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
appletalk [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
atm [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
ax25 [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
bluetooth [NET] BLUETOOTH: Fix whitespace errors. 2007-02-10 23:19:20 -08:00
bridge [NETFILTER]: nf_log: minor cleanups 2007-02-12 11:11:55 -08:00
core [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
dccp [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
decnet [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
econet [NET] ECONET: Fix whitespace errors. 2007-02-10 23:19:32 -08:00
ethernet [NET] ETHERNET: Fix whitespace errors. 2007-02-10 23:19:34 -08:00
ieee80211 [NET] IEEE80211: Fix whitespace errors. 2007-02-10 23:19:36 -08:00
ipv4 [NETFILTER]: ip_conntrack: fix invalid conntrack statistics RCU assumption 2007-02-12 11:13:14 -08:00
ipv6 [NETFILTER]: nf_conntrack: properly use RCU API for nf_ct_protos/nf_ct_l3protos arrays 2007-02-12 11:12:57 -08:00
ipx [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
irda [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
iucv [S390]: Add AF_IUCV socket support 2007-02-08 13:51:54 -08:00
key [NET] KEY: Fix whitespace errors. 2007-02-10 23:19:49 -08:00
lapb [NET] LAPB: Fix whitespace errors. 2007-02-10 23:19:51 -08:00
llc [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
netfilter [NETFILTER]: nf_conntrack: properly use RCU API for nf_ct_protos/nf_ct_l3protos arrays 2007-02-12 11:12:57 -08:00
netlabel [NET] NETLABEL: Fix whitespace errors. 2007-02-10 23:19:56 -08:00
netlink [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
netrom [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
packet [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
rose [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
rxrpc [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
sched [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
sctp [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
sunrpc [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
tipc [NET] TIPC: Fix whitespace errors. 2007-02-10 23:20:15 -08:00
unix [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
wanrouter [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
x25 [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
xfrm [NET] XFRM: Fix whitespace errors. 2007-02-10 23:20:24 -08:00
compat.c [NET]: Fix whitespace errors. 2007-02-10 23:20:27 -08:00
Kconfig [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
Makefile [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
nonet.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
socket.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
sysctl_net.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
TUNABLE