]> git.baikalelectronics.ru Git - kernel.git/commit
netns: Add an explicit rcu_barrier to unregister_pernet_{device|subsys}
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 3 Dec 2009 02:29:06 +0000 (02:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 20:22:03 +0000 (12:22 -0800)
commit1c43004195b662eea589b56c009179e1835fa29a
tree79cbd70d9ef551cb75e897ddeb8e17749d0596b8
parentbb0b70fb8d9b934d25e20ec379ba5535ed6cc2be
netns: Add an explicit rcu_barrier to unregister_pernet_{device|subsys}

This allows namespace exit methods to batch work that comes requires an
rcu barrier using call_rcu without having to treat the
unregister_pernet_operations cases specially.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c