]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/dst.c
cpumask: introduce new API, without changing anything, v3
[linux-2.6-omap-h63xx.git] / net / core / dst.c
index fe03266130b62f4950bac5ef4786755e88617a54..09c1530f46814d287929a37ce948885d44f8bb03 100644 (file)
@@ -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);