Merge branch 'pernet-convert-part11'
Kirill Tkhai says: ==================== Converting pernet_operations (part #11) this series continues to review and to convert pernet_operations to make them possible to be executed in parallel for several net namespaces at the same time. I thought last series was last, but there is one new pernet_operations came to kernel. This is udp_sysctl_ops, and here we convert it. Also, David Howells acked rxrpc_net_ops, so I resend the patch in case of it should be queued by patchwork: https://www.spinics.net/lists/netdev/msg490678.html ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Коммит
f145749dd4
|
@ -2842,7 +2842,8 @@ static int __net_init udp_sysctl_init(struct net *net)
|
|||
}
|
||||
|
||||
static struct pernet_operations __net_initdata udp_sysctl_ops = {
|
||||
.init = udp_sysctl_init,
|
||||
.init = udp_sysctl_init,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
void __init udp_init(void)
|
||||
|
|
|
@ -106,4 +106,5 @@ struct pernet_operations rxrpc_net_ops = {
|
|||
.exit = rxrpc_exit_net,
|
||||
.id = &rxrpc_net_id,
|
||||
.size = sizeof(struct rxrpc_net),
|
||||
.async = true,
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче