From: patchwork-bot+netdevbpf@kernel.org
To: Marc Dionne <marc.dionne@auristor.com>
Cc: netdev@vger.kernel.org, jrife@google.com, kuba@kernel.org,
pabeni@redhat.com, edumazet@google.com, davem@davemloft.net,
willemb@google.com, horms@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: Save and restore msg_namelen in sock_sendmsg
Date: Wed, 03 Jan 2024 11:40:25 +0000 [thread overview]
Message-ID: <170428202507.24279.722670497373581017.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20231221131230.2025000-1-marc.dionne@auristor.com>
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:
On Thu, 21 Dec 2023 09:12:30 -0400 you wrote:
> Commit 86a7e0b69bd5 ("net: prevent rewrite of msg_name in
> sock_sendmsg()") made sock_sendmsg save the incoming msg_name pointer
> and restore it before returning, to insulate the caller against
> msg_name being changed by the called code. If the address length
> was also changed however, we may return with an inconsistent structure
> where the length doesn't match the address, and attempts to reuse it may
> lead to lost packets.
>
> [...]
Here is the summary with links:
- net: Save and restore msg_namelen in sock_sendmsg
https://git.kernel.org/netdev/net/c/01b2885d9415
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:[~2024-01-03 11:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-21 13:12 Marc Dionne
2024-01-03 1:38 ` Willem de Bruijn
2024-01-03 11: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=170428202507.24279.722670497373581017.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jrife@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.dionne@auristor.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemb@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®