Thread (7 messages) 7 messages, 6 authors, 2025-04-01

Re: [PATCH net] bnxt_en: bring back rtnl lock in bnxt_shutdown

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-03-31 17:16:37
Also in: lkml

On Mon, 31 Mar 2025 09:53:16 -0700 Breno Leitao wrote:
quoted
But also in general, it would be nice to keep existing
rtnl+instance_lock scheme for now (except were we want to explicitly opt
out, as in queue apis); we can follow up later to un-rtnl the rest.  
I am just wondering if the code as-is is already safe from a locking
perspecting, and just the warning (ASSERT_RTNL) is wrong.
I suspect the notifiers for DOWN may expect to be called with rtnl held.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help