Re: [PATCH net-next v9 0/7] Introduce async callback ndo_set_rx_mode_async
From: Jakub Kicinski
Date: Sat Mar 14 2026 - 16:06:23 EST
On Sat, 14 Mar 2026 23:58:02 +0530 I Viswanath wrote:
> This is an implementation of the idea provided by Jakub here
>
> https://lore.kernel.org/netdev/20250923163727.5e97abdb@xxxxxxxxxx/
>
> The set_rx_mode callback is invoked under the addr_lock spinlock which
> makes it illegal to sleep. This means set_rx_mode is prone to
> sleep-in-atomic bugs as drivers have a tendency to do the I/O directly
> in the callback.
Stan is actively working on this:
https://lore.kernel.org/20260313145113.1424442-1-sdf@xxxxxxxxxxx
I feel like I spent enough time reviewing your attempts and Stan
will not need as much maintainer attention to bring this to
a closure so let him cook. Sorry.