[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpUkEP6O4xcjRNDVwrQ2dWObP0aC2oNucpOgE_oju+DR-Q@mail.gmail.com>
Date: Mon, 5 May 2014 21:33:56 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [Patch net-next] ipv4: remove inet_addr_hash_lock in devinet.c
On Mon, May 5, 2014 at 1:35 PM, David Miller <davem@...emloft.net> wrote:
> From: Cong Wang <xiyou.wangcong@...il.com>
> Date: Mon, 5 May 2014 11:46:50 -0700
>
>> All the callers hold RTNL lock, so there is no need to use inet_addr_hash_lock
>> to protect the hash list.
>>
>> Cc: David S. Miller <davem@...emloft.net>
>> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
>
> If you are going to do this, please add ASSERT_RTNL() to these two locations
> at the same time.
>
OK, makes sense. I will send v2.
--
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