Re: [PATCH bpf v1] selftests/bpf: Fix sockmap_multi_channels reliability
From: patchwork-bot+netdevbpf
Date: Tue Mar 24 2026 - 16:45:36 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Thu, 12 Mar 2026 15:25:44 +0800 you wrote:
> From: Jiayuan Chen <jiayuan.chen@xxxxxxxxxx>
>
> Previously I added a FIONREAD test for sockmap, but it can occasionally
> fail in CI [1].
>
> The test sends 10 bytes in two segments (2 + 8). For UDP, FIONREAD only
> reports the length of the first datagram, not the total queued data.
> The original code used recv_timeout() expecting all 10 bytes, but under
> high system load, the second datagram may not yet be processed by the
> protocol stack, so recv would only return the first 2-byte datagram,
> causing a size mismatch failure.
>
> [...]
Here is the summary with links:
- [bpf,v1] selftests/bpf: Fix sockmap_multi_channels reliability
https://git.kernel.org/bpf/bpf-next/c/d9d7125e445d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html