projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1294fc4
)
IPV4: route rekey timer can be deferrable
author
Stephen Hemminger
<shemminger@vyatta.com>
Thu, 10 Apr 2008 08:55:27 +0000
(
01:55
-0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 10 Apr 2008 08:55:27 +0000
(
01:55
-0700)
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>
net/ipv4/route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index 7cdd2bf88e0c258673d0718117b5215c83c67e47..a1c5b8dbdfed403d8a1adbeb43962887c2f62550 100644
(file)
--- 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.