diff options
author | Vitaliy Gusev <vgusev@openvz.org> | 2010-03-16 01:07:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-01 16:02:01 -0700 |
commit | b4aedbe935216fd8db97163b0e6dba6036391bcf (patch) | |
tree | 4697cb167fac4b8fa7d6b13721122042ae46092c /net/dsa | |
parent | 3a8010e6225a3548e9921d986a53ae93bda433fa (diff) |
route: Fix caught BUG_ON during rt_secret_rebuild_oneshot()
[ Upstream commit 858a18a6a2f74e8f0e5b2e9671d4b74694aba708 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions