From: patchwork-bot+netdevbpf@kernel.org
To: Kuniyuki Iwashima <kuniyu@google.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org, brauner@kernel.org,
kuni1840@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH v1 net] af_unix: Fix memleak of newsk in unix_stream_connect().
Date: Wed, 11 Feb 2026 12:10:05 +0000 [thread overview]
Message-ID: <177081180508.147733.2873421321562093141.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260207232236.2557549-1-kuniyu@google.com>
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Sat, 7 Feb 2026 23:22:34 +0000 you wrote:
> When prepare_peercred() fails in unix_stream_connect(),
> unix_release_sock() is not called for newsk, and the memory
> is leaked.
>
> Let's move prepare_peercred() before unix_create1().
>
> Fixes: fd0a109a0f6b ("net, pidfs: prepare for handing out pidfds for reaped sk->sk_peer_pid")
> Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
>
> [...]
Here is the summary with links:
- [v1,net] af_unix: Fix memleak of newsk in unix_stream_connect().
https://git.kernel.org/netdev/net/c/6884028cd7f2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-02-11 12:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-07 23:22 [PATCH v1 net] af_unix: Fix memleak of newsk in unix_stream_connect() Kuniyuki Iwashima
2026-02-11 12:10 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177081180508.147733.2873421321562093141.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=brauner@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=kuni1840@gmail.com \
--cc=kuniyu@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.