[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070425.011938.74750660.davem@davemloft.net>
Date: Wed, 25 Apr 2007 01:19:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shani.moideen@...ro.com
Cc: kuznet@....inr.ac.ru, pekkas@...core.fi, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...eworks.de,
netdev@...r.kernel.org, kernel-janitors@...ts.osdl.org
Subject: Re: [PATCH]:Replace with time_before in net/ipv4/ipip.c
From: Shani Moideen <shani.moideen@...ro.com>
Date: Wed, 25 Apr 2007 11:30:13 +0530
> Replacing (jiffies - errtime < TIMEOUT) with time_before in net/ipv4/ipip.c
>
> thanks.
>
> Signed-off-by: Shani Moideen <shani.moideen@...ro.com>
The test you are replacing actually gives a larger window
of acceptance than time_before() does.
It's been a long standing issue whether we should give up
this semantic advantage for the sake of code cleanliness
in the networking code.
-
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