diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dst.c b/net/core/dst.c index fe03266130b6..09c1530f4681 100644 --- a/net/core/dst.c +++ b/net/core/dst.c | |||
@@ -203,6 +203,7 @@ void __dst_free(struct dst_entry * dst) | |||
203 | if (dst_garbage.timer_inc > DST_GC_INC) { | 203 | if (dst_garbage.timer_inc > DST_GC_INC) { |
204 | dst_garbage.timer_inc = DST_GC_INC; | 204 | dst_garbage.timer_inc = DST_GC_INC; |
205 | dst_garbage.timer_expires = DST_GC_MIN; | 205 | dst_garbage.timer_expires = DST_GC_MIN; |
206 | cancel_delayed_work(&dst_gc_work); | ||
206 | schedule_delayed_work(&dst_gc_work, dst_garbage.timer_expires); | 207 | schedule_delayed_work(&dst_gc_work, dst_garbage.timer_expires); |
207 | } | 208 | } |
208 | spin_unlock_bh(&dst_garbage.lock); | 209 | spin_unlock_bh(&dst_garbage.lock); |