From: Patrick McHardy Date: Mon, 12 Feb 2007 19:09:19 +0000 (-0800) Subject: [NETFILTER]: Properly use RCU in nf_ct_attach X-Git-Tag: v2.6.21-rc1~274^2~1^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3a47ab3e5ad62601449e4e5401352271b777e28;p=pandora-kernel.git [NETFILTER]: Properly use RCU in nf_ct_attach Use rcu_assign_pointer/rcu_dereference for ip_ct_attach pointer instead of self-made RCU and use rcu_read_lock to make sure the conntrack module doesn't disappear below us while calling it, since this function can be called from outside the netfilter hooks. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed