Subject: [PATCH 6/6] IPV4: route rekey timer can be deferrable

From: Stephen Hemminger <[email-masked]>
Date: Mon, 31 Mar 2008 17:47:14 -0700

No urgency on the rehash interval timer, so mark it as deferrable.

Signed-off-by: Stephen Hemminger <[email-masked]>

--- a/net/ipv4/route.c	2008-03-31 11:22:17.000000000 -0700
+++ b/net/ipv4/route.c	2008-03-31 11:22:19.000000000 -0700
@@ -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.

--