]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: mptcp: join: only check for ip6tables if needed
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Tue, 25 Jul 2023 18:34:55 +0000 (11:34 -0700)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:20:55 +0000 (17:20 +0200)
commit52f2cdf851426261d5a7408f400a9e401c6b3ab3
treef8ac65b6081189ca192a38cc4905356e62b72467
parent0f3e16cbd153e04fc768bd93499bfae6686ea694
selftests: mptcp: join: only check for ip6tables if needed

BugLink: https://bugs.launchpad.net/bugs/2037005
commit 016e7ba47f33064fbef8c4307a2485d2669dfd03 upstream.

If 'iptables-legacy' is available, 'ip6tables-legacy' command will be
used instead of 'ip6tables'. So no need to look if 'ip6tables' is
available in this case.

Cc: stable@vger.kernel.org
Fixes: 0c4cd3f86a40 ("selftests: mptcp: join: use 'iptables-legacy' if available")
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20230725-send-net-20230725-v1-1-6f60fe7137a9@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
tools/testing/selftests/net/mptcp/mptcp_join.sh