aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-12-03 02:29:05 +0000
committerDavid S. Miller <davem@davemloft.net>2009-12-03 12:22:03 -0800
commitd79d792ef9f99cca463b6619a93e860d1c833a6e (patch)
tree06d8a085701546be48ac104fd4f2413a6371180c /net/core/net_namespace.c
parentnet: Move network device exit batching (diff)
downloadlinux-dev-d79d792ef9f99cca463b6619a93e860d1c833a6e.tar.xz
linux-dev-d79d792ef9f99cca463b6619a93e860d1c833a6e.zip
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 <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions