[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165852721336.8145.1830308584894724128.git-patchwork-notify@kernel.org>
Date: Fri, 22 Jul 2022 22:00:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pavel Begunkov <asml.silence@...il.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
davem@...emloft.net, kuba@...nel.org, dsahern@...nel.org
Subject: Re: [PATCH net-next] net: fix uninitialised msghdr->sg_from_iter
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.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
Powered by blists - more mailing lists