summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJuan Agustin Niccolini <juanagusnicco@gmail.com>2026-11-11 12:47:04 -0500
committerJakub Kicinski <kuba@kernel.org>2026-11-16 15:33:43 -0800
commit540410997a7da285994280097219a38c5d786473 (patch)
tree450cf3e2267276ab9987b5549443bffc273dd10d /tools/perf/scripts/python/bin
parentf675070191f202010b010160b509a543dd232ae6 (diff)
selftests: net: Add SO_REUSEPORT bind cache test to bind_wildcard.c
Add a test for the bug fixed by "tcp: Fix the SO_REUSEPORT bind cache admitting a conflicting socket". With a 0.0.0.0 listener on the port, a v6only [::] SO_REUSEPORT socket fills the bind cache, and a dual-stack [::] SO_REUSEPORT socket must then fail to bind with EADDRINUSE. Without the fix: # RUN global.reuseport_v6only_cache ... # bind_wildcard.c:860:reuseport_v6only_cache:Expected ret (0) == -1 (-1) # reuseport_v6only_cache: Test terminated by assertion # FAIL global.reuseport_v6only_cache not ok 1 global.reuseport_v6only_cache With it: # RUN global.reuseport_v6only_cache ... # OK global.reuseport_v6only_cache ok 1 global.reuseport_v6only_cache Signed-off-by: Juan Agustin Niccolini <juanagusnicco@gmail.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by: Eric Dumazet <edumazet@kernel.org> Link: https://patch.msgid.link/20261111174704.24312-3-juanagusnicco@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions