Hello:
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko andrii@kernel.org:
On Tue, 9 Sep 2025 20:47:04 +0800 you wrote:
The loop in bench_sockmap_prog_destroy() has two issues:
Using 'sizeof(ctx.fds)' as the loop bound results in the number of bytes, not the number of file descriptors, causing the loop to iterate far more times than intended.
The condition 'ctx.fds[0] > 0' incorrectly checks only the first fd for all iterations, potentially leaving file descriptors unclosed. Change it to 'ctx.fds[i] > 0' to check each fd properly.
[...]
Here is the summary with links: - [bpf-next,v2] selftests/bpf: Fix incorrect array size calculation https://git.kernel.org/bpf/bpf-next/c/f85981327a90
You are awesome, thank you!