Commit 7b7dd180 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

net: Convert fib6_rules_net_ops

These pernet_operations register and unregister
net::ipv6.fib6_rules_ops, which are used for
routing. It looks like there are no pernet_operations,
which send ipv6 packages to another net, so we
are able to mark them as async.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 85ca51b2
...@@ -368,6 +368,7 @@ static void __net_exit fib6_rules_net_exit(struct net *net) ...@@ -368,6 +368,7 @@ static void __net_exit fib6_rules_net_exit(struct net *net)
static struct pernet_operations fib6_rules_net_ops = { static struct pernet_operations fib6_rules_net_ops = {
.init = fib6_rules_net_init, .init = fib6_rules_net_init,
.exit = fib6_rules_net_exit, .exit = fib6_rules_net_exit,
.async = true,
}; };
int __init fib6_rules_init(void) int __init fib6_rules_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment