Re: [PATCH net] net/smc: Hold a socket reference for transmit work
From: patchwork-bot+netdevbpf
Date: Wed Sep 30 2026 - 21:07:01 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 27 Sep 2026 15:51:20 +0800 you wrote:
> SMC transmit work is queued without holding a socket reference. After
> an active close has cancelled tx_work, a received CDC message can queue
> it again while the socket is in SMC_PEERCLOSEWAIT1. Passive close can
> then reach SMC_CLOSED, call smc_conn_free() and drop the last socket
> reference before smc_tx_work() acquires the socket lock. The worker
> then accesses the freed socket.
>
> [...]
Here is the summary with links:
- [net] net/smc: Hold a socket reference for transmit work
https://git.kernel.org/netdev/net-next/c/1bc449382b3d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html