Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Stephen Hemminger and committed by
David S. Miller
2fa7527b 1294fc4a

+3 -1
+3 -1
net/ipv4/route.c
··· 3058 3058 devinet_init(); 3059 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 3065 /* All the timers, started at system startup tend 3064 3066 to synchronize. Perturb it a bit.