aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv6/ip6_fib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index e0922975c410..03e23d058ec5 100644
--- a/net/ipv6/ip6_fib.c
+++ b/net/ipv6/ip6_fib.c
@@ -1462,8 +1462,9 @@ void fib6_run_gc(unsigned long expires, struct net *net)
1462 fib6_clean_all(net, fib6_age, 0, NULL); 1462 fib6_clean_all(net, fib6_age, 0, NULL);
1463 1463
1464 if (gc_args.more) 1464 if (gc_args.more)
1465 mod_timer(&net->ipv6.ip6_fib_timer, jiffies + 1465 mod_timer(&net->ipv6.ip6_fib_timer,
1466 net->ipv6.sysctl.ip6_rt_gc_interval); 1466 round_jiffies(jiffies
1467 + net->ipv6.sysctl.ip6_rt_gc_interval));
1467 else 1468 else
1468 del_timer(&net->ipv6.ip6_fib_timer); 1469 del_timer(&net->ipv6.ip6_fib_timer);
1469 spin_unlock_bh(&fib6_gc_lock); 1470 spin_unlock_bh(&fib6_gc_lock);