From: Vitaliy Gusev Date: Tue, 16 Mar 2010 01:07:51 +0000 (+0000) Subject: route: Fix caught BUG_ON during rt_secret_rebuild_oneshot() X-Git-Tag: v2.6.34-rc2~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=858a18a6a2f74e8f0e5b2e9671d4b74694aba708;p=pandora-kernel.git 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 Acked-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed