Re: [PATCH] tls: rx: restore msg_iter before TLS 1.3 optimistic retry

[email protected]
Newsgroups gmane.linux.kernel.stable,gmane.linux.network
Message-ID <178603320838.1362900.14870685122061393780.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Tue,  4 Aug 2026 12:55:28 +0000 you wrote:
> tls_decrypt_sg() advances msg->msg_iter when it maps user pages for
> the optimistic TLS 1.3 zero-copy path. If the decrypted record turns
> out not to be unpadded application data, tls_decrypt_sw() retries into
> a kernel skb, but leaves the iterator advanced.
> 
> The subsequent copy from the skb then writes decrypted bytes again at
> a later point in the caller iovecs while recvmsg() reports only the
> post-retry length. A TLS peer can trigger this after the receiver
> enables TLS_RX_EXPECT_NO_PAD.
> 
> [...]

Here is the summary with links:
  - tls: rx: restore msg_iter before TLS 1.3 optimistic retry
    https://git.kernel.org/netdev/net/c/1c8629651cb5

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.