aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/fib6_rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/fib6_rules.c')
-rw-r--r--net/ipv6/fib6_rules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c
index 9ce2e0a6748a..e4d7e5a08b40 100644
--- a/net/ipv6/fib6_rules.c
+++ b/net/ipv6/fib6_rules.c
@@ -273,7 +273,7 @@ int __init fib6_rules_init(void)
273 if (ret) 273 if (ret)
274 goto out; 274 goto out;
275 275
276 ret = fib_rules_register(&fib6_rules_ops); 276 ret = fib_rules_register(&init_net, &fib6_rules_ops);
277 if (ret) 277 if (ret)
278 goto out_default_rules_init; 278 goto out_default_rules_init;
279out: 279out:
@@ -286,5 +286,5 @@ out_default_rules_init:
286 286
287void fib6_rules_cleanup(void) 287void fib6_rules_cleanup(void)
288{ 288{
289 fib_rules_unregister(&fib6_rules_ops); 289 fib_rules_unregister(&init_net, &fib6_rules_ops);
290} 290}