summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-13 10:29:23 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-13 16:36:07 +0100
commit83caf62c867bed2637d4f3713839b0c414d6d966 (patch)
tree892f8ccd40e105a455ffe63bf11c12f4ae58f1c5 /net/netlink
parentnet: Convert subsys_initcall() registered pernet_operations from net/sched (diff)
downloadlinux-83caf62c867bed2637d4f3713839b0c414d6d966.tar.xz
linux-83caf62c867bed2637d4f3713839b0c414d6d966.zip
net: Convert genl_pernet_ops
This pernet_operations create and destroy net::genl_sock. Foreign pernet_operations don't touch it. 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/netlink')
-rw-r--r--net/netlink/genetlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c
index 6f02499ef007..a6f63a5faee7 100644
--- a/net/netlink/genetlink.c
+++ b/net/netlink/genetlink.c
@@ -1035,6 +1035,7 @@ static void __net_exit genl_pernet_exit(struct net *net)
static struct pernet_operations genl_pernet_ops = {
.init = genl_pernet_init,
.exit = genl_pernet_exit,
+ .async = true,
};
static int __init genl_init(void)