netdev
[Top] [All Lists]

Re: [NET] Fix neighbour tbl->entries race

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: [NET] Fix neighbour tbl->entries race
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Nov 2004 09:06:03 +1100
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20041102210259.GA12642@xxxxxxxxxxxxxxxxxxx>
References: <20041102112651.GA8633@xxxxxxxxxxxxxxxxxxx> <1099404823.1021.15.camel@xxxxxxxxxxxxxxxx> <20041102203720.GA12108@xxxxxxxxxxxxxxxxxxx> <20041102210259.GA12642@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040722i
On Wed, Nov 03, 2004 at 08:02:59AM +1100, herbert wrote:
> 
> In fact, we can make it a bit more effective/fair by checking the
> previous entries count as well.

Call me a flip-flop :) This extra check is silly because in the
cases where it is done it is very unlikely to succeed.  So here
is yet another update without that check.

Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Attachment: p
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>