linux-stable/tools/testing/selftests/net/mptcp
Matthieu Baerts 2177d0b08e selftests: mptcp: pm nl: remove hardcoded default limits
Selftests are supposed to run on any kernels, including the old ones not
supporting all MPTCP features.

One of them is the checks of the default limits returned by the MPTCP
in-kernel path-manager. The default values have been modified by commit
72bcbc46a5 ("mptcp: increase default max additional subflows to 2").
Instead of comparing with hardcoded values, we can get the default one
and compare with them.

Note that if we expect to have the latest version, we continue to check
the hardcoded values to avoid unexpected behaviour changes.

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368
Fixes: eedbc68532 ("selftests: add PM netlink functional tests")
Cc: stable@vger.kernel.org
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-06-10 00:02:16 -07:00
..
.gitignore selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
Makefile selftests: mptcp: connect: skip if MPTCP is not supported 2023-05-30 13:21:02 +02:00
config selftests: mptcp: lib: skip if missing symbol 2023-06-10 00:02:15 -07:00
diag.sh selftests: mptcp: diag: skip inuse tests if not supported 2023-06-10 00:02:16 -07:00
mptcp_connect.c selftests: mptcp: remove duplicated entries in usage 2023-04-17 08:25:33 +01:00
mptcp_connect.sh selftests: mptcp: connect: skip TFO tests if not supported 2023-06-10 00:02:16 -07: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: update userspace pm subflow tests 2023-06-05 15:15:57 +01:00
mptcp_lib.sh selftests: mptcp: lib: skip if missing symbol 2023-06-10 00:02:15 -07:00
mptcp_sockopt.c selftests: mptcp: Initialize variables to quiet gcc 12 warnings 2022-06-28 20:45:43 -07:00
mptcp_sockopt.sh selftests: mptcp: sockopt: skip if MPTCP is not supported 2023-05-30 13:21:03 +02:00
pm_netlink.sh selftests: mptcp: pm nl: remove hardcoded default limits 2023-06-10 00:02:16 -07: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-05-30 13:21:03 +02:00
userspace_pm.sh selftests: mptcp: userspace pm: skip if MPTCP is not supported 2023-05-30 13:21:03 +02:00