diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-11-25 11:53:10 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-26 08:30:18 +0100 |
commit | 2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5 (patch) | |
tree | ad7424fb95a1ee3bd5db2a02af0f9ec88921a25e /tcp_vu.c | |
parent | 6819b2e1020411661dc0487ee3614f012d45b049 (diff) | |
download | passt-2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5.tar passt-2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5.tar.gz passt-2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5.tar.bz2 passt-2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5.tar.lz passt-2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5.tar.xz passt-2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5.tar.zst passt-2bf8ffcf078c5933e6a31dbffbfb4dc31bfd7bc5.zip |
test/perf: Select a single IPv6 namespace address in pasta tests
By dropping the filter on prefix length, commit 910f4f910301
("test: Don't require 64-bit prefixes in perf tests") broke tests on
setups where two global unicast IPv6 addresses are available, which
is the typical case when the "host" is a VM running under passt with
addresses from SLAAC and DHCPv6, because two addresses will be
returned.
Pick the first one instead. We don't really care about the prefix
length, any of these addresses will work.
Fixes: 910f4f910301 ("test: Don't require 64-bit prefixes in perf tests")
Link: https://archives.passt.top/passt-dev/20241119214344.6b4a5b3a@elisabeth/
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tcp_vu.c')
0 files changed, 0 insertions, 0 deletions