projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84c682
)
net: Convert unix_net_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Tue, 13 Feb 2018 09:30:00 +0000
(12:30 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Feb 2018 15:36:08 +0000
(10:36 -0500)
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>
net/unix/af_unix.c
patch
|
blob
|
blame
|
history
diff --git
a/net/unix/af_unix.c
b/net/unix/af_unix.c
index 7236984162422d31435c7ed4b8cf44fbceb745fb..e3eb8806b3e48cd3196bfd0d952929abee0e23d4 100644
(file)
--- 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)