mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
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>
This commit is contained in:
parent
f84c6821aa
commit
167f7ac723
@ -2913,6 +2913,7 @@ static void __net_exit unix_net_exit(struct net *net)
|
|||||||
static struct pernet_operations unix_net_ops = {
|
static struct pernet_operations unix_net_ops = {
|
||||||
.init = unix_net_init,
|
.init = unix_net_init,
|
||||||
.exit = unix_net_exit,
|
.exit = unix_net_exit,
|
||||||
|
.async = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init af_unix_init(void)
|
static int __init af_unix_init(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user