Skip to content

Commit 74b8da7

Browse files
committed
Merge branch 'pernet-convert-part6'
Kirill Tkhai says: ==================== Converting pernet_operations (part #6) this series continues to review and to convert pernet_operations to make them possible to be executed in parallel for several net namespaces in the same time. There are sctp, tipc and rds in this series. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents d98985d + c939a5e commit 74b8da7

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

net/rds/tcp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ static struct pernet_operations rds_tcp_net_ops = {
515515
.exit = rds_tcp_exit_net,
516516
.id = &rds_tcp_netid,
517517
.size = sizeof(struct rds_tcp_net),
518+
.async = true,
518519
};
519520

520521
static void rds_tcp_kill_sock(struct net *net)

net/sctp/protocol.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ static void __net_exit sctp_defaults_exit(struct net *net)
13301330
static struct pernet_operations sctp_defaults_ops = {
13311331
.init = sctp_defaults_init,
13321332
.exit = sctp_defaults_exit,
1333+
.async = true,
13331334
};
13341335

13351336
static int __net_init sctp_ctrlsock_init(struct net *net)
@@ -1353,6 +1354,7 @@ static void __net_init sctp_ctrlsock_exit(struct net *net)
13531354
static struct pernet_operations sctp_ctrlsock_ops = {
13541355
.init = sctp_ctrlsock_init,
13551356
.exit = sctp_ctrlsock_exit,
1357+
.async = true,
13561358
};
13571359

13581360
/* Initialize the universe into something sensible. */

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)