Re: [PATCH net] net: fddi: skfp: fix NULL deref when setting the MAC address while down
From: patchwork-bot+netdevbpf
Date: Tue Sep 15 2026 - 04:51:33 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 10 Sep 2026 15:37:43 +0900 you wrote:
> skfp_ctl_set_mac_address() calls ResetAdapter() unconditionally, without
> checking netif_running(). ResetAdapter() first calls card_stop(), which
> sets smc->hw.hw_state to STOPPED, and then mac_drv_clear_tx_queue(),
> which walks the two transmit queues:
>
> for (i = QUEUE_S; i <= QUEUE_A0; i++) {
> queue = smc->hw.fp.tx[i] ;
> ...
> t = queue->tx_curr_get ;
>
> [...]
Here is the summary with links:
- [net] net: fddi: skfp: fix NULL deref when setting the MAC address while down
https://git.kernel.org/netdev/net/c/7c8810c2e69c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html