diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 13:59:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 17:01:35 +0100 |
commit | c80afa026a7f6eb01f5431760cd894526153d4a8 (patch) | |
tree | 7d09c84c39290248e328621668d8dec75ce36697 /net/kcm | |
parent | ipvlan: fix building with modular IPV6 (diff) | |
download | linux-c80afa026a7f6eb01f5431760cd894526153d4a8.tar.xz linux-c80afa026a7f6eb01f5431760cd894526153d4a8.zip |
net: Convert /proc creating and destroying pernet_operations
These pernet_operations just create and destroy /proc entries,
and they can safely marked as async:
pppoe_net_ops
vlan_net_ops
canbcm_pernet_ops
kcm_net_ops
pfkey_net_ops
pppol2tp_net_ops
phonet_net_ops
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')
-rw-r--r-- | net/kcm/kcmproc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/kcm/kcmproc.c b/net/kcm/kcmproc.c index 9d5649e4e8b7..2c1c8b3e4452 100644 --- a/net/kcm/kcmproc.c +++ b/net/kcm/kcmproc.c @@ -433,6 +433,7 @@ static void kcm_proc_exit_net(struct net *net) static struct pernet_operations kcm_net_ops = { .init = kcm_proc_init_net, .exit = kcm_proc_exit_net, + .async = true, }; int __init kcm_proc_init(void) |