[<prev] [next>] [thread-next>] [month] [year] [list]
Date: Mon, 31 Mar 2008 17:47:14 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: "David S. Miller" <davem@...emloft.net>
Subject: [PATCH 6/6] 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@...tta.com>
--- 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.
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hosted by DataForce ISP -
Powered by Openwall GNU/*/Linux