Re: [PATCH v3] net/handshake: restore destructor on submit failure

[email protected]
Newsgroups dev.linux.lists.kernel-tls-handshake,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kernel.vger.stable
Message-ID <176535841527.523551.15411391386973921361.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Thu,  4 Dec 2025 01:10:58 -0800 you wrote:
> handshake_req_submit() replaces sk->sk_destruct but never restores it when
> submission fails before the request is hashed. handshake_sk_destruct() then
> returns early and the original destructor never runs, leaking the socket.
> Restore sk_destruct on the error path.
> 
> Fixes: 3b3009ea8abb ("net/handshake: Create a NETLINK service for handling handshake requests")
> Reviewed-by: Chuck Lever <[email protected]>
> Cc: [email protected]
> Signed-off-by: caoping <[email protected]>
> 
> [...]

Here is the summary with links:
  - [v3] net/handshake: restore destructor on submit failure
    https://git.kernel.org/netdev/net/c/6af2a01d65f8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.