summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-13 13:37:11 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-13 11:24:56 -0400
commitafbbc374ab1281f2e5c18278a62a47fb906f0fa4 (patch)
treec93d61ea24ea16a532f0d0dae6f278bfe958a989 /net/tipc
parentbfdfa38ff0e26463e418235c0be03c0f0eca4569 (diff)
net: Convert tipc_net_ops
TIPC looks concentrated in itself, and other pernet_operations seem not touching its entities. tipc_net_ops look pernet-divided, and they should be safe to be executed in parallel for several net the same time. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index 0b982d048fb9..04fd91bb11d7 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -105,6 +105,7 @@ static struct pernet_operations tipc_net_ops = {
.exit = tipc_exit_net,
.id = &tipc_net_id,
.size = sizeof(struct tipc_net),
+ .async = true,
};
static int __init tipc_init(void)