[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140505.163524.1995679741348650063.davem@davemloft.net>
Date: Mon, 05 May 2014 16:35:24 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [Patch net-next] ipv4: remove inet_addr_hash_lock in devinet.c
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.
Thank you.
--
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