[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240729080123.7b66ce47@kernel.org>
Date: Mon, 29 Jul 2024 08:01:23 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Sasha Levin <sashal@...nel.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org, Kuniyuki Iwashima
<kuniyu@...zon.com>, Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, pabeni@...hat.com, idosch@...dia.com,
jiri@...nulli.us, amcohen@...dia.com, horms@...nel.org,
lirongqing@...du.com, juntong.deng@...look.com, netdev@...r.kernel.org
Subject: Re: [PATCH AUTOSEL 6.10 08/27] rtnetlink: move rtnl_lock handling
out of af_netlink
On Sat, 27 Jul 2024 20:52:51 -0400 Sasha Levin wrote:
> From: Jakub Kicinski <kuba@...nel.org>
>
> [ Upstream commit 5380d64f8d766576ac5c0f627418b2d0e1d2641f ]
>
> Now that we have an intermediate layer of code for handling
> rtnl-level netlink dump quirks, we can move the rtnl_lock
> taking there.
>
> For dump handlers with RTNL_FLAG_DUMP_SPLIT_NLM_DONE we can
> avoid taking rtnl_lock just to generate NLM_DONE, once again.
Not really a fix, FWIW, but not scary either so your call.
Powered by blists - more mailing lists