summaryrefslogtreecommitdiffstats
path: root/drivers/net/vrf.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-26 15:59:56 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 11:01:35 -0500
commit02df428ca291f20285f04c25a7efd664a5d83551 (patch)
tree44699a8bc3dc68fc37727a0466805bdd9bb981b0 /drivers/net/vrf.c
parent7300bd94e622a44277a72b82f848db4d961d02e6 (diff)
downloadlinux-stable-02df428ca291f20285f04c25a7efd664a5d83551.tar.gz
linux-stable-02df428ca291f20285f04c25a7efd664a5d83551.tar.bz2
linux-stable-02df428ca291f20285f04c25a7efd664a5d83551.zip
net: Convert simple pernet_operations
These pernet_operations make pretty simple actions like variable initialization on init, debug checks on exit, and so on, and they obviously are able to be executed in parallel with any others: vrf_net_ops lockd_net_ops grace_net_ops xfrm6_tunnel_net_ops kcm_net_ops tcf_net_ops Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vrf.c')
-rw-r--r--drivers/net/vrf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c
index 9ce0182223a0..e459e601c57f 100644
--- a/drivers/net/vrf.c
+++ b/drivers/net/vrf.c
@@ -1434,6 +1434,7 @@ static struct pernet_operations vrf_net_ops __net_initdata = {
.init = vrf_netns_init,
.id = &vrf_net_id,
.size = sizeof(bool),
+ .async = true,
};
static int __init vrf_init_module(void)