Thread (8 messages) 8 messages, 3 authors, 2026-05-05

Re: [PATCH net 2/4] net: sparx5: fix sleep in atomic context in MAC table access

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-05-04 23:53:01
Also in: linux-arm-kernel, linux-rt-devel, lkml

On Mon, 4 May 2026 16:43:43 +0200 Daniel Machon wrote:
sparx5_mact_learn() is called from .ndo_set_rx_mode with
netif_addr_lock_bh held, but takes sparx5->lock which is a mutex.
A mutex may block, which is not allowed from atomic context.
Could you try to switch to the recently added ndo_set_rx_mode_async?
We added it exactly because most drivers have to sleep / wait for FW
to do something.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help