diff options
author | 2018-02-13 12:27:13 +0300 | |
---|---|---|
committer | 2018-02-13 10:36:05 -0500 | |
commit | 93d230fe0762bf129fb4debc944af3e1c1e8f40e (patch) | |
tree | 75f29e285bd1479f6a4341184173f1bb5821fae3 /net/core/net_namespace.c | |
parent | net: Convert net_ns_ops methods (diff) | |
download | wireguard-linux-93d230fe0762bf129fb4debc944af3e1c1e8f40e.tar.xz wireguard-linux-93d230fe0762bf129fb4debc944af3e1c1e8f40e.zip |
net: Convert sysctl_pernet_ops
This patch starts to convert pernet_subsys, registered
from core initcalls.
Methods sysctl_net_init() and sysctl_net_exit() initialize
net::sysctls table of a namespace.
pernet_operations::init()/exit() methods from the rest
of the list do not touch net::sysctls of strangers,
so it's safe to execute sysctl_pernet_ops's methods
in parallel with any other pernet_operations.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.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