Re: [PATCH bpf-next v2 0/2] bpf,ktls: Fix data corruption caused by using bpf_msg_pop_data() in ktls
From: patchwork-bot+netdevbpf
Date: Wed Jun 11 2025 - 11:11:57 EST
Hello:
This series was applied to bpf/bpf-next.git (net)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:
On Mon, 9 Jun 2025 10:08:51 +0800 you wrote:
> Cong reported an issue where running 'test_sockmap' in the current
> bpf-next tree results in an error [1].
>
> The specific test case that triggered the error is a combined test
> involving ktls and bpf_msg_pop_data().
>
> Root Cause:
> When sending plaintext data, we initially calculated the corresponding
> ciphertext length. However, if we later reduced the plaintext data length
> via socket policy, we failed to recalculate the ciphertext length.
>
> [...]
Here is the summary with links:
- [bpf-next,v2,1/2] bpf,ktls: Fix data corruption when using bpf_msg_pop_data() in ktls
https://git.kernel.org/bpf/bpf-next/c/178f6a5c8cb3
- [bpf-next,v2,2/2] selftests/bpf: Add test to cover ktls with bpf_msg_pop_data
https://git.kernel.org/bpf/bpf-next/c/f1c025773f25
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html