projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfdfa38
)
net: Convert tipc_net_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Tue, 13 Mar 2018 10:37:11 +0000
(13:37 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Mar 2018 15:24:56 +0000
(11:24 -0400)
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>
net/tipc/core.c
patch
|
blob
|
history
diff --git
a/net/tipc/core.c
b/net/tipc/core.c
index 0b982d048fb9b36c8bec876c32361f264e5dac9e..04fd91bb11d7d6c6c8201bc866645f4ab34260ba 100644
(file)
--- 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)