Re: [PATCH net v3 2/2] net: sparx5: fix sleep in atomic context in MAC table access
From: Sebastian Andrzej Siewior
Date: Fri Aug 21 2026 - 02:57:49 EST
On 2026-08-20 10:24:58 [-0700], Jakub Kicinski wrote:
> > > - .ndo_set_rx_mode = sparx5_set_rx_mode,
> > > + .ndo_set_rx_mode_async = sparx5_set_rx_mode,
> > > .ndo_get_phys_port_name = sparx5_port_get_phys_port_name,
> > > .ndo_set_mac_address = sparx5_set_mac_address,
> > > .ndo_validate_addr = eth_validate_addr,
> >
> > d6fce5141929 is v5.14-rc1
> > ndo_set_rx_mode_async has been introduced in v7.1-rc1.
> > Youngest LTS kernel is v6.18.
> >
> > What would be the "fix" for the kernels v5.15 … v6.18?
>
> stable should backport .ndo_set_rx_mode_async
> there's been a number of similar fixes, and the whole point of
> the new ndo was to help drivers avoid the sleeping in atomic bugs
Understood.
Sebastian