[PATCH net 1/1] net: stmmac: ensure tx function is not running in stmmac_xdp_release()
Jakub Kicinski
kuba at kernel.org
Fri Nov 11 20:05:28 PST 2022
On Thu, 10 Nov 2022 14:45:52 +0800 Noor Azura Ahmad Tarmizi wrote:
> When stmmac_xdp_release() is called, there is a possibility that tx
> function is still running on other queues which will lead to tx queue
> timed out and reset adapter.
>
> This commit ensure that tx function is not running xdp before release
> flow continue to run.
Do we still need that netif_trans_update() later in the function?
That looks odd.
More information about the linux-arm-kernel
mailing list