X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=net%2Fcore%2Fdst.c;h=09c1530f46814d287929a37ce948885d44f8bb03;hb=4403b406d4369a275d483ece6ddee0088cc0d592;hp=fe03266130b62f4950bac5ef4786755e88617a54;hpb=1e42198609d73ed1a9adcba2af275c24c2678420;p=linux-2.6-omap-h63xx.git diff --git a/net/core/dst.c b/net/core/dst.c index fe03266130b..09c1530f468 100644 --- a/net/core/dst.c +++ b/net/core/dst.c @@ -203,6 +203,7 @@ void __dst_free(struct dst_entry * dst) if (dst_garbage.timer_inc > DST_GC_INC) { dst_garbage.timer_inc = DST_GC_INC; dst_garbage.timer_expires = DST_GC_MIN; + cancel_delayed_work(&dst_gc_work); schedule_delayed_work(&dst_gc_work, dst_garbage.timer_expires); } spin_unlock_bh(&dst_garbage.lock);