Skip to content

Commit 232cf06

Browse files
Kirill Tkhaidavem330
authored andcommitted
net: Convert sysctl_core_ops
These pernet_operations register and destroy sysctl directory, and it's not interesting for foreign 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>
1 parent 6c0075d commit 232cf06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/core/sysctl_net_core.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ static __net_exit void sysctl_core_net_exit(struct net *net)
572572
static __net_initdata struct pernet_operations sysctl_core_ops = {
573573
.init = sysctl_core_net_init,
574574
.exit = sysctl_core_net_exit,
575+
.async = true,
575576
};
576577

577578
static __init int sysctl_core_init(void)

0 commit comments

Comments
 (0)