selftests: mptcp: userspace: validate v4-v6 subflows mix
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Thu, 12 Jan 2023 17:42:53 +0000 (18:42 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:55:45 +0000 (21:55 -0800)
commit4656d72c1efa495a58ad6d8b073a60907073e4e6
tree25442684c0590cd701bd4719a23d48d6267a2266
parentfb00ee4f3343acb2b9222ca9b73b47dd1e1a8efc
selftests: mptcp: userspace: validate v4-v6 subflows mix

MPTCP protocol supports having subflows in both IPv4 and IPv6. In Linux,
it is possible to have that if the MPTCP socket has been created with
AF_INET6 family without the IPV6_V6ONLY option.

Here, a new IPv4 subflow is being added to the initial IPv6 connection,
then being removed using Netlink commands.

Cc: stable@vger.kernel.org # v5.19+
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/userspace_pm.sh