]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:37 +0000 (07:24 +0100)
commitc0d1afb23b603dce46a38ceb1b7f2e34a172d3b1
treece94ea4ff25d45ca975b7fa894af4d8f0b4bbe1e
parent1f56d995186b057644aa8c7505a73257bcaff8b4
selftests: mptcp: userspace: validate v4-v6 subflows mix

commit 4656d72c1efa495a58ad6d8b073a60907073e4e6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/mptcp/userspace_pm.sh