Skip to content

Commit afbbc37

Browse files
Kirill Tkhaidavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bfdfa38 commit afbbc37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/tipc/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ static struct pernet_operations tipc_net_ops = {
105105
.exit = tipc_exit_net,
106106
.id = &tipc_net_id,
107107
.size = sizeof(struct tipc_net),
108+
.async = true,
108109
};
109110

110111
static int __init tipc_init(void)

0 commit comments

Comments
 (0)