Re: [PATCH v1] net: stmmac: Disable queues before tx_disable

From: Dinh Nguyen

Date: Wed Jan 28 2026 - 07:47:02 EST




On 1/27/26 18:27, muhammad.nazim.amirul.nazle.asmade@xxxxxxxxxx wrote:
From: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@xxxxxxxxxx>

Disable all queues and disconnect before tx_disable in stmmac_xdp_release
to prevent a corner case where packet may be still queued at the same time
tx_disable is called resulting in kernel panic if some packet still has to
be processed.

Signed-off-by: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@xxxxxxxxxx>

You've sent this patch to the wrong people. Please run get_maintainer on your patch next time! Refer to the submitting-patches documentation in the section 'Select the recipients for your patch'

Dinh