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

Sebastian Andrzej Siewior <[email protected]>
Newsgroups org.kernel.vger.netdev,dev.linux.lists.linux-rt-devel,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.