aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/fib6_rules.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-19 03:49:31 -0500
committerDavid S. Miller <davem@davemloft.net>2018-02-19 14:19:10 -0500
commit7b7dd180b85b9c39c426cfaade73f7d0409c7f85 (patch)
tree4fffc6cdbb43545d25a995795f673786e7181eb1 /net/ipv6/fib6_rules.c
parent85ca51b2a23969dccb5abff31eb54560db8195ca (diff)
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: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/fib6_rules.c')
-rw-r--r--net/ipv6/fib6_rules.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c
index b240f24a6e52..95a2c9e8699a 100644
--- a/net/ipv6/fib6_rules.c
+++ b/net/ipv6/fib6_rules.c
@@ -368,6 +368,7 @@ static void __net_exit fib6_rules_net_exit(struct net *net)
368static struct pernet_operations fib6_rules_net_ops = { 368static struct pernet_operations fib6_rules_net_ops = {
369 .init = fib6_rules_net_init, 369 .init = fib6_rules_net_init,
370 .exit = fib6_rules_net_exit, 370 .exit = fib6_rules_net_exit,
371 .async = true,
371}; 372};
372 373
373int __init fib6_rules_init(void) 374int __init fib6_rules_init(void)