aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-04-10 04:55:27 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-10 04:55:27 -0400
commit2fa7527ba1d38175d1e42f7cb72bae5de3d55cc7 (patch)
tree48de882ae62ab51871142e2d6477e5d94fc1908a /net/ipv4/route.c
parent1294fc4a4868d7e83ff749597fbf4e9d5f4d1aa0 (diff)
IPV4: route rekey timer can be deferrable
No urgency on the rehash interval timer, so mark it as deferrable. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 7cdd2bf88e0c..a1c5b8dbdfed 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -3058,7 +3058,9 @@ int __init ip_rt_init(void)
3058 devinet_init(); 3058 devinet_init();
3059 ip_fib_init(); 3059 ip_fib_init();
3060 3060
3061 setup_timer(&rt_secret_timer, rt_secret_rebuild, 0); 3061 rt_secret_timer.function = rt_secret_rebuild;
3062 rt_secret_timer.data = 0;
3063 init_timer_deferrable(&rt_secret_timer);
3062 3064
3063 /* All the timers, started at system startup tend 3065 /* All the timers, started at system startup tend
3064 to synchronize. Perturb it a bit. 3066 to synchronize. Perturb it a bit.