2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00
linux-next/net
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
..
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: fix invalid conntrack statistics RCU assumption 2007-02-12 11:13:43 -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: fix invalid conntrack statistics RCU assumption 2007-02-12 11:13:43 -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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00