Thread (21 messages) flat view 21 messages, 4 authors, 2025-02-23

Re: [PATCH AUTOSEL 6.10 08/27] rtnetlink: move rtnl_lock handling out of af_netlink

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-07-29 15:01:25
Also in: lkml, stable

On Sat, 27 Jul 2024 20:52:51 -0400 Sasha Levin wrote:
From: Jakub Kicinski <kuba@kernel.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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help