diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-13 12:30:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-13 10:36:08 -0500 |
commit | 167f7ac723e5b4ea22c44a0bd8e357bb76a68cd2 (patch) | |
tree | 68706d6db9e5611a2cf8819ec80edf97f9351f14 /net/unix | |
parent | f84c6821aa540342360067604ad156e3d53a67ed (diff) | |
download | linux-167f7ac723e5b4ea22c44a0bd8e357bb76a68cd2.tar.gz linux-167f7ac723e5b4ea22c44a0bd8e357bb76a68cd2.tar.bz2 linux-167f7ac723e5b4ea22c44a0bd8e357bb76a68cd2.zip |
net: Convert unix_net_ops
These pernet_operations are just create and destroy
/proc and sysctl entries, and are not touched by
foreign pernet_operations.
So, we are able to make them async.
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/unix')
-rw-r--r-- | net/unix/af_unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 723698416242..e3eb8806b3e4 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -2913,6 +2913,7 @@ static void __net_exit unix_net_exit(struct net *net) static struct pernet_operations unix_net_ops = { .init = unix_net_init, .exit = unix_net_exit, + .async = true, }; static int __init af_unix_init(void) |