From: patchwork-bot+netdevbpf@kernel.org
To: Chuck Lever <cel@kernel.org>
Cc: dan.carpenter@linaro.org, chuck.lever@oracle.com,
netdev@vger.kernel.org, kernel-tls-handshake@lists.linux.dev
Subject: Re: [PATCH] net/handshake: Fix sock->file allocation
Date: Tue, 23 May 2023 02:40:19 +0000 [thread overview]
Message-ID: <168480961922.27018.4100039188919022306.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <168451609436.45209.15407022385441542980.stgit@oracle-102.nfsv4bat.org>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 19 May 2023 13:08:24 -0400 you wrote:
> From: Chuck Lever <chuck.lever@oracle.com>
>
> sock->file = sock_alloc_file(sock, O_NONBLOCK, NULL);
> ^^^^ ^^^^
>
> sock_alloc_file() calls release_sock() on error but the left hand
> side of the assignment dereferences "sock". This isn't the bug and
> I didn't report this earlier because there is an assert that it
> doesn't fail.
>
> [...]
Here is the summary with links:
- net/handshake: Fix sock->file allocation
https://git.kernel.org/netdev/net/c/18c40a1cc1d9
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:[~2023-05-23 2:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-19 17:08 [PATCH] net/handshake: Fix sock->file allocation Chuck Lever
2023-05-19 17:13 ` Chuck Lever III
2023-05-23 2:40 ` 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=168480961922.27018.4100039188919022306.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=cel@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=dan.carpenter@linaro.org \
--cc=kernel-tls-handshake@lists.linux.dev \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox