Vitaliy Gusev 858a18a6a2 route: Fix caught BUG_ON during rt_secret_rebuild_oneshot()
route: Fix caught BUG_ON during rt_secret_rebuild_oneshot()

Call rt_secret_rebuild can cause BUG_ON(timer_pending(&net->ipv4.rt_secret_timer)) in
add_timer as there is not any synchronization for call rt_secret_rebuild_oneshot()
for the same net namespace.

Also this issue affects to rt_secret_reschedule().

Thus use mod_timer enstead.

Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-16 14:15:47 -07:00
..
2010-02-22 16:20:22 -08:00
2009-10-18 18:52:53 -07:00
2010-02-22 16:20:22 -08:00
2009-11-13 20:46:58 -08:00
2009-06-03 02:51:04 -07:00
2009-11-25 15:14:13 -08:00
2009-06-03 02:51:04 -07:00
2010-02-22 16:20:22 -08:00
2008-10-07 08:38:24 +11:00
2009-09-14 17:03:01 -07:00
2010-02-18 15:43:09 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2010-02-18 15:43:09 -08:00
2010-03-10 07:32:27 -08:00
2010-03-05 13:34:03 -08:00
2010-03-08 11:32:01 -08:00
2009-05-25 22:44:59 -07:00
2010-02-18 15:43:09 -08:00
2009-09-14 17:03:01 -07:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2010-03-03 01:04:37 -08:00