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

Jakub Kicinski kuba at kernel.org
Mon May 4 16:52:58 PDT 2026


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.



More information about the linux-arm-kernel mailing list