1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/net/mptcp
Matthieu Baerts 287d354059 selftests: mptcp: depends on built-in IPv6
Recently, CONFIG_MPTCP_IPV6 no longer selects CONFIG_IPV6. As a
consequence, if CONFIG_MPTCP_IPV6=y is added to the kconfig, it will no
longer ensure CONFIG_IPV6=y. If it is not enabled, CONFIG_MPTCP_IPV6
will stay disabled and selftests will fail.

We also need CONFIG_IPV6 to be built-in. For more details, please see
commit 0ed37ac586 ("mptcp: depends on IPV6 but not as a module").

Note that 'make kselftest-merge' will take all 'config' files found in
'tools/testsing/selftests'. Because some of them already set
CONFIG_IPV6=y, MPTCP selftests were still passing. But they will fail if
MPTCP selftests are launched manually after having executed this command
to prepare the kernel config:

  ./scripts/kconfig/merge_config.sh -m .config \
      ./tools/testing/selftests/net/mptcp/config

Fixes: 010b430d5d ("mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Link: https://lore.kernel.org/r/20201021155549.933731-1-matthieu.baerts@tessares.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-21 20:39:58 -07:00
..
.gitignore SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
config selftests: mptcp: depends on built-in IPv6 2020-10-21 20:39:58 -07:00
diag.sh selftests/mptcp: add diag interface tests 2020-07-09 12:38:41 -07:00
Makefile mptcp: simult flow self-tests 2020-09-14 13:28:03 -07:00
mptcp_connect.c selftests: mptcp: add remove cfg in mptcp_connect 2020-09-24 19:58:34 -07:00
mptcp_connect.sh selftests: mptcp: interpret \n as a new line 2020-09-17 16:26:09 -07:00
mptcp_join.sh selftests: mptcp: add remove addr and subflow test cases 2020-09-24 19:58:34 -07:00
pm_netlink.sh selftests: mptcp: pm: rm the right tmp file 2020-05-15 10:33:56 -07:00
pm_nl_ctl.c selftests:mptcp: fix failure due to whitespace damage 2020-03-30 10:25:34 -07:00
settings mptcp: add basic kselftest for mptcp 2020-01-24 13:44:08 +01:00
simult_flows.sh selftests: mptcp: interpret \n as a new line 2020-10-08 17:55:24 -07:00