[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E843607.6010306@windriver.com>
Date: Thu, 29 Sep 2011 17:10:31 +0800
From: Rongqing Li <rongqing.li@...driver.com>
To: "Yan, Zheng " <yanzheng@...n.com>
CC: <netdev@...r.kernel.org>
Subject: Re: [PATCH] Ipv6: Delete rcu_read_lock
On 09/29/2011 04:52 PM, Yan, Zheng wrote:
> On Thu, Sep 29, 2011 at 4:25 PM, Rongqing Li<rongqing.li@...driver.com> wrote:
>> On 09/29/2011 04:16 PM, Yan, Zheng wrote:
>>>
>>> I think the rcu_read_lock protects in6_dev->nd_parms.
>>>
>> It can not protect in6_dev->nd_parms.
>>
>> rcu_read_lock protects the data which is accessed by rcu_XXX,
>>
>
> I'm confused, why does neigh_parms_release() use call_rcu() to release nd_parms.
>
Same as idev, there is a reference on struct neigh_parms
which protects them
-Roy
--
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