From 77c0cb737bf3e5cff598556f0e2c710cd1a13fd9 Mon Sep 17 00:00:00 2001 From: Dmitry Mishin Date: Wed, 9 Aug 2006 02:25:54 -0700 Subject: [PATCH] --- yaml --- r: 33310 b: refs/heads/master c: 7c91767a6b701543c93ebcd611dab61deff3dad1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/core/dst.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 7a123019a91f..0aae5ad5d6bb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7b1ba8de569460894efa892457af7a37c0d574f9 +refs/heads/master: 7c91767a6b701543c93ebcd611dab61deff3dad1 diff --git a/trunk/net/core/dst.c b/trunk/net/core/dst.c index 470c05bc4cb2..1a5e49da0e77 100644 --- a/trunk/net/core/dst.c +++ b/trunk/net/core/dst.c @@ -95,12 +95,11 @@ static void dst_run_gc(unsigned long dummy) dst_gc_timer_inc = DST_GC_INC; dst_gc_timer_expires = DST_GC_MIN; } - dst_gc_timer.expires = jiffies + dst_gc_timer_expires; #if RT_CACHE_DEBUG >= 2 printk("dst_total: %d/%d %ld\n", atomic_read(&dst_total), delayed, dst_gc_timer_expires); #endif - add_timer(&dst_gc_timer); + mod_timer(&dst_gc_timer, jiffies + dst_gc_timer_expires); out: spin_unlock(&dst_lock);