From: Stephen Hemminger Date: Thu, 10 Apr 2008 08:55:27 +0000 (-0700) Subject: IPV4: route rekey timer can be deferrable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2fa7527ba1d38175d1e42f7cb72bae5de3d55cc7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git IPV4: route rekey timer can be deferrable No urgency on the rehash interval timer, so mark it as deferrable. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- 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) devinet_init(); ip_fib_init(); - setup_timer(&rt_secret_timer, rt_secret_rebuild, 0); + rt_secret_timer.function = rt_secret_rebuild; + rt_secret_timer.data = 0; + init_timer_deferrable(&rt_secret_timer); /* All the timers, started at system startup tend to synchronize. Perturb it a bit.