diff options
author | Florian Westphal <fw@strlen.de> | 2025-10-02 15:05:41 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2025-10-08 13:17:31 +0200 |
commit | e84945bdc619ed4243ba4298dbb8ca2062026474 (patch) | |
tree | eb5932fc622ec8dd17eeb5b5e0c910ee85395fc8 /tools/docs/lib/enrich_formatter.py | |
parent | a126ab6b26f107f4eb100c8c77e9f10b706f26e6 (diff) |
selftests: netfilter: query conntrack state to check for port clash resolution
Jakub reported this self test flaking occasionally (fails, but passes on
re-run) on debug kernels.
This is because the test checks for elapsed time to determine if both
connections were established in parallel.
Rework this to no longer depend on timing.
Use busywait helper to check that both sockets have moved to established
state and then query the conntrack engine for the two entries.
Reported-by: Jakub Kicinski <kuba@kernel.org>
Closes: https://lore.kernel.org/netfilter-devel/20250926163318.40d1a502@kernel.org/
Fixes: 117e149e26d1 ("selftests: netfilter: test nat source port clash resolution interaction with tcp early demux")
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/docs/lib/enrich_formatter.py')
0 files changed, 0 insertions, 0 deletions