Thread (2 messages) 2 messages, 2 authors, 12d ago

Re: [PATCH net] net: fddi: skfp: fix NULL deref when setting the MAC address while down

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-15 08:41:09
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help