Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH] net: Save and restore msg_namelen in sock_sendmsg | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 03 Jan 2024 11:40:25 +0000 |
| |
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
| ![\](/images/icornerr.gif) |