[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250211-zippy-inquisitive-frog-8e7cf9@leitao>
Date: Tue, 11 Feb 2025 03:38:43 -0800
From: Breno Leitao <leitao@...ian.org>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
horms@...nel.org, kernel-team@...a.com, kuba@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
pabeni@...hat.com, ushankar@...estorage.com
Subject: Re: [PATCH net-next v2 2/2] net: Add dev_getbyhwaddr_rtnl() helper
On Tue, Feb 11, 2025 at 10:03:00AM +0900, Kuniyuki Iwashima wrote:
> From: Breno Leitao <leitao@...ian.org>
> Date: Mon, 10 Feb 2025 03:56:14 -0800
> > Add dedicated helper for finding devices by hardware address when
> > holding rtnl_lock, similar to existing dev_getbyhwaddr_rcu(). This prevents
> > PROVE_LOCKING warnings when rtnl_lock is held but RCU read lock is not.
>
> No one uses dev_getbyhwaddr() yet, so this patch itself doens't fix
> the warninig.
>
> You are missing patch 3 to convert arp_req_set_public(). Other call
> sites are under RCU.
That will come later. For now, the goal is to solve the current
netconsole patch by Uday.
So, my suggestion is that Uday's patchset merges this fix, and fix their
own curent problem. Later we can convert dev_getbyhwaddr_rcu() users
back to dev_getbyhwaddr()
how does it sound?
Thanks
--breno
Powered by blists - more mailing lists