[Top] [All Lists]

Re: Fix ipv6_ifa_notify race

To: "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <yoshfuji@xxxxxxxxxxxxxx>
Subject: Re: Fix ipv6_ifa_notify race
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Nov 2004 06:35:04 +1100
Cc: davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, acme@xxxxxxxxxxxxxxxx, jgarzik@xxxxxxxxx
In-reply-to: <20041119.113658.109538461.yoshfuji@xxxxxxxxxxxxxx>
References: <4197AC20.6020707@xxxxxxxxx> <E1CTR5h-0006ac-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20041119094924.GA3726@xxxxxxxxxxxxxxxxxxx> <20041119.113658.109538461.yoshfuji@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040722i
On Fri, Nov 19, 2004 at 11:36:58AM -0500, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
> This patch is wrong (dead is not protected appropriately).

I don't understand your point.  ifp->dead is an int and it's read
and written atomically.

> I have another idea to fix this.


Visit Openswan at
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:

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