From: Eric W. Biederman Date: Thu, 3 Dec 2009 02:29:05 +0000 (+0000) Subject: net: Allow xfrm_user_net_exit to batch efficiently. X-Git-Tag: v2.6.33-rc1~388^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d79d792ef9f99cca463b6619a93e860d1c833a6e;p=pandora-kernel.git net: Allow xfrm_user_net_exit to batch efficiently. xfrm.nlsk is provided by the xfrm_user module and is access via rcu from other parts of the xfrm code. Add xfrm.nlsk_stash a copy of xfrm.nlsk that will never be set to NULL. This allows the synchronize_net and netlink_kernel_release to be deferred until a whole batch of xfrm.nlsk sockets have been set to NULL. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed