Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <[email protected]>:

On Fri,  4 Sep 2026 15:37:39 +0800 you wrote:
> The bpf_nf test allocs a ct, sets snat and dnat with random addr and
> port via bpf_ct_set_nat_info(), then looks the ct up and checks the
> reply tuple against what was set.
> 
> The port comes from bpf_get_prandom_u32() and can be 0. For
> bpf_ct_set_nat_info(), port 0 means "port not specified", so only the
> addr is mapped and the kernel keeps the original port. The check then
> compares that port with 0 and fails, which shows up as a flaky
> "Test for source natting" failure in CI [1][2].
> 
> [...]

Here is the summary with links:
  - [bpf-next,v1] selftests/bpf: Fix flaky bpf_nf test when random NAT port is 0
    https://git.kernel.org/bpf/bpf/c/5e8c349bc8d7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Reply via email to