aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6')
-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 ead5ab2da9a2..695c0ca8a417 100644
--- a/net/ipv6/fib6_rules.c
+++ b/net/ipv6/fib6_rules.c
@@ -274,7 +274,7 @@ int __init fib6_rules_init(void)
274 if (ret) 274 if (ret)
275 goto out; 275 goto out;
276 276
277 ret = fib_rules_register(&init_net, &fib6_rules_ops); 277 ret = fib_rules_register(&fib6_rules_ops);
278 if (ret) 278 if (ret)
279 goto out_default_rules_init; 279 goto out_default_rules_init;
280out: 280out:
@@ -287,5 +287,5 @@ out_default_rules_init:
287 287
288void fib6_rules_cleanup(void) 288void fib6_rules_cleanup(void)
289{ 289{
290 fib_rules_unregister(&init_net, &fib6_rules_ops); 290 fib_rules_unregister(&fib6_rules_ops);
291} 291}