[PATCH net-next] rxrpc: Fix ability to add more data to a call once MSG_MORE deasserted
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Mon Dec 16 18:10:38 PST 2024
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Thu, 12 Dec 2024 21:04:22 +0000 you wrote:
> When userspace is adding data to an RPC call for transmission, it must pass
> MSG_MORE to sendmsg() if it intends to add more data in future calls to
> sendmsg(). Calling sendmsg() without MSG_MORE being asserted closes the
> transmission phase of the call (assuming sendmsg() adds all the data
> presented) and further attempts to add more data should be rejected.
>
> However, this is no longer the case. The change of call state that was
> previously the guard got bumped over to the I/O thread, which leaves a
> window for a repeat sendmsg() to insert more data. This previously went
> unnoticed, but the more recent patch that changed the structures behind the
> Tx queue added a warning:
>
> [...]
Here is the summary with links:
- [net-next] rxrpc: Fix ability to add more data to a call once MSG_MORE deasserted
https://git.kernel.org/netdev/net-next/c/ae4f89989479
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-afs
mailing list