mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
net: Convert proto_net_ops
This patch starts to convert pernet_subsys, registered from subsys initcalls. It seems safe to be executed in parallel with others, as it's only creates/destoyes proc entry, which nobody else is not interested in. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
15898a011b
commit
36b0068e6c
1 changed files with 1 additions and 0 deletions
|
@ -3386,6 +3386,7 @@ static __net_exit void proto_exit_net(struct net *net)
|
|||
static __net_initdata struct pernet_operations proto_net_ops = {
|
||||
.init = proto_init_net,
|
||||
.exit = proto_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init proto_init(void)
|
||||
|
|
Loading…
Reference in a new issue