Messages in this thread | | | Subject | Re: [PATCH net-next] net: fix uninitialised msghdr->sg_from_iter | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 22 Jul 2022 22:00:13 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>:
On Thu, 21 Jul 2022 15:25:46 +0100 you wrote: > Because of how struct msghdr is usually initialised some fields and > sg_from_iter in particular might be left out not initialised, so we > can't safely use it in __zerocopy_sg_from_iter(). > > For now use the callback only when there is ->msg_ubuf set relying on > the fact that they're used together and we properly zero ->msg_ubuf. > > [...]
Here is the summary with links: - [net-next] net: fix uninitialised msghdr->sg_from_iter https://git.kernel.org/netdev/net-next/c/2829a267fca2
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |