[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120719.083915.635511426151379834.davem@davemloft.net>
Date: Thu, 19 Jul 2012 08:39:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: steffen.klassert@...unet.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 09/15] ipv4: Cache output routes in fib_info nexthops.
From: Steffen Klassert <steffen.klassert@...unet.com>
Date: Thu, 19 Jul 2012 13:38:10 +0200
> On Wed, Jul 18, 2012 at 11:24:04AM -0700, David Miller wrote:
>> +
>> +static void rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe)
>> +{
>> + if (fnhe->fnhe_pmtu) {
>> + unsigned long expires = fnhe->fnhe_expires;
>> + unsigned long diff = jiffies - expires;
>
> This should be diff = expires - jiffies
>
> With that changed, everything seems to work fine :)
Thanks a lot for catching this bug, I'll fix it up right now.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists