From: Patrick McHardy Date: Wed, 29 Nov 2006 01:35:25 +0000 (+0100) Subject: [NETFILTER]: ip_conntrack: fix NAT helper unload races X-Git-Tag: v2.6.20-rc1~34^2~40^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=337fbc4166967a72c3cc71c597bdde7e6a8633ab;p=pandora-kernel.git [NETFILTER]: ip_conntrack: fix NAT helper unload races The NAT helpr hooks are protected by RCU, but all of the conntrack helpers test and use the global pointers instead of copying them first using rcu_dereference() Also replace synchronize_net() by synchronize_rcu() for clarity since sychronizing only with packet receive processing is insufficient to prevent races. Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed