From: Eric Dumazet Date: Mon, 18 Jul 2011 14:08:07 +0000 (+0200) Subject: netfilter: nfnetlink: add RCU in nfnetlink_rcv_msg() X-Git-Tag: v3.1-rc1~316^2~70^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b75e3e8d664a9a1b99d31a7f4976ae70d1d090a;p=pandora-kernel.git netfilter: nfnetlink: add RCU in nfnetlink_rcv_msg() Goal of this patch is to permit nfnetlink providers not mandate nfnl_mutex being held while nfnetlink_rcv_msg() calls them. If struct nfnl_callback contains a non NULL call_rcu(), then nfnetlink_rcv_msg() will use it instead of call() field, holding rcu_read_lock instead of nfnl_mutex Signed-off-by: Eric Dumazet CC: Florian Westphal CC: Eric Leblond Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed