netdev
[Top] [All Lists]

Re: [PATCH] Move inetdev/ifa over to RCU

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [PATCH] Move inetdev/ifa over to RCU
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Fri, 13 Aug 2004 15:19:23 -0700
Cc: shemminger@xxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040813215602.GA15870@xxxxxxxxxxxxxxxxxxx>
References: <20040812165954.00429e65.davem@xxxxxxxxxx> <20040813090314.448c971d@xxxxxxxxxxxxxxxxxxxxx> <20040813093838.6961c0d4.davem@xxxxxxxxxx> <20040813215602.GA15870@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 14 Aug 2004 07:56:02 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> Now had you put this barrier between the reading of ip_ptr and
> the checking of in_dev->dead, then the race would've been closed.
> 
> But I still prefer to move the work into inetdev_destroy.

Ok I see now.  I've added your patch, it seems correct.

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