Re: [PATCH 6.18.y] net: macb: wait for a running xmit before resetting BQL on close

From: Greg Kroah-Hartman

Date: Mon Nov 09 2026 - 09:17:37 EST


On Mon, Nov 09, 2026 at 01:57:09PM +0100, Nicolai Buchwitz wrote:
> macb_close() stops the queues without waiting for an xmit still
> running on another CPU. That frame charges BQL after the reset and
> never completes, so after the reopen the queue stays stopped with an
> empty ring and the watchdog fires until the next close.
>
> Seen on a Raspberry Pi CM5 with ethtool -G under load.
>
> Upstream fixed this as part of the context swap rework in commit
> dcc3288b9433a ("net: macb: use context swapping in .set_ringparam()"),
> which is too large for stable.

Why is that too large? Please backport that instead.

thanks,

greg k-h