aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/fib6_rules.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-19 11:49:31 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-19 14:19:10 -0500
commit7b7dd180b85b9c39c426cfaade73f7d0409c7f85 (patch)
tree4fffc6cdbb43545d25a995795f673786e7181eb1 /net/ipv6/fib6_rules.c
parentnet: Convert ipv6_inetpeer_ops (diff)
downloadlinux-dev-7b7dd180b85b9c39c426cfaade73f7d0409c7f85.tar.xz
linux-dev-7b7dd180b85b9c39c426cfaade73f7d0409c7f85.zip
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)
static struct pernet_operations fib6_rules_net_ops = {
.init = fib6_rules_net_init,
.exit = fib6_rules_net_exit,
+ .async = true,
};
int __init fib6_rules_init(void)