linux/tools/testing/selftests/net/mptcp
Matthieu Baerts 1fed1f8513 selftests: mptcp: join: fix "userspace pm add & remove address"
It looks like this test was broken in v6.1 after the backport of commit
48d73f609d ("selftests: mptcp: update userspace pm addr tests").

It was not working because the commit ad3493746e ("selftests: mptcp:
add test-cases for mixed v4/v6 subflows") is not in v6.1. This commit
changes how the connections are being created in mptcp_join.sh selftest:
with IPv6 support always enabled. But then in v6.1, the server still
create IPv4 only connections, so without the v4-mapped-v6 format with
the "::ffff:" prefix like we have in v6.3.

The modification here adds a support for connections created in v4 as
well so it fixes the issue in v6.1. This patch is not needed for the
selftests in v6.3 because only IPv6 listening sockets are being created.

Fixes: 8f0ba8ec18 ("selftests: mptcp: update userspace pm addr tests")
Cc: stable@vger.kernel.org
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-28 11:12:22 +02:00
..
.gitignore selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
config selftests: mptcp: lib: skip if missing symbol 2023-06-28 11:12:18 +02:00
diag.sh selftests: mptcp: diag: skip listen tests if not supported 2023-06-28 11:12:21 +02:00
Makefile selftests: mptcp: connect: skip if MPTCP is not supported 2023-06-09 10:34:24 +02:00
mptcp_connect.c selftests: mptcp: remove duplicated entries in usage 2023-06-28 11:12:18 +02:00
mptcp_connect.sh selftests: mptcp: connect: skip disconnect tests if not supported 2023-06-28 11:12:19 +02:00
mptcp_inq.c selftests: mptcp: Initialize variables to quiet gcc 12 warnings 2022-06-28 20:45:43 -07:00
mptcp_join.sh selftests: mptcp: join: fix "userspace pm add & remove address" 2023-06-28 11:12:22 +02:00
mptcp_lib.sh selftests: mptcp: lib: skip if not below kernel version 2023-06-28 11:12:19 +02:00
mptcp_sockopt.c selftests: mptcp: sockopt: relax expected returned size 2023-06-28 11:12:19 +02:00
mptcp_sockopt.sh selftests: mptcp: sockopt: skip TCP_INQ checks if not supported 2023-06-28 11:12:21 +02:00
pm_netlink.sh selftests: mptcp: pm nl: skip fullmesh flag checks if not supported 2023-06-28 11:12:19 +02:00
pm_nl_ctl.c selftests: mptcp: update pm_nl_ctl usage header 2022-07-09 12:19:24 +01:00
settings selftests: mptcp: increase timeout to 20 minutes 2022-02-17 19:59:58 -08:00
simult_flows.sh selftests: mptcp: simult flows: skip if MPTCP is not supported 2023-06-09 10:34:29 +02:00
userspace_pm.sh selftests: mptcp: userspace pm: skip if not supported 2023-06-28 11:12:19 +02:00