net: Convert sysctl creating and destroying pernet_operations
These pernet_operations create and destroy sysctl tables, and they are able to be executed in parallel with any others: ip_vs_lblc_ops ip_vs_lblcr_ops Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
25354866e0
commit
5fcc85843d
|
@ -604,6 +604,7 @@ static void __net_exit __ip_vs_lblc_exit(struct net *net) { }
|
|||
static struct pernet_operations ip_vs_lblc_ops = {
|
||||
.init = __ip_vs_lblc_init,
|
||||
.exit = __ip_vs_lblc_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip_vs_lblc_init(void)
|
||||
|
|
|
@ -789,6 +789,7 @@ static void __net_exit __ip_vs_lblcr_exit(struct net *net) { }
|
|||
static struct pernet_operations ip_vs_lblcr_ops = {
|
||||
.init = __ip_vs_lblcr_init,
|
||||
.exit = __ip_vs_lblcr_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip_vs_lblcr_init(void)
|
||||
|
|
Loading…
Reference in New Issue