diff options
author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2024-03-06 12:42:50 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-08 08:06:51 +0300 |
commit | 7c2eac649054c04007f61fcc90a42f6800727efc (patch) | |
tree | 4f34abc2f32415c0feb095cecfc685f0b9fa856d /tools/testing/selftests/net/mptcp/userspace_pm.sh | |
parent | c3874bbec942dad35768d9f2e7418d207fb75844 (diff) | |
download | linux-7c2eac649054c04007f61fcc90a42f6800727efc.tar.xz |
selftests: mptcp: stop forcing iptables-legacy
Commit 0c4cd3f86a40 ("selftests: mptcp: join: use 'iptables-legacy' if
available") and commit a5a5990c099d ("selftests: mptcp: sockopt: use
'iptables-legacy' if available") forced using iptables-legacy if
available.
This was needed because of some issues that were visible when testing
the kselftests on a v5.15.x with iptables-nft as default backend. It
looks like these errors are no longer present. As mentioned by Pablo [1],
the errors were maybe due to missing kernel config. We can then use
iptables-nft if it is the default one, instead of using a legacy tool.
We can then check the variables iptables and ip6tables are valid. We can
keep the variables to easily change it later or add options.
Link: https://lore.kernel.org/netdev/ZbFiixyMFpQnxzCH@calendula/ [1]
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240306-upstream-net-next-20240304-selftests-mptcp-shared-code-shellcheck-v2-1-bc79e6e5e6a0@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/mptcp/userspace_pm.sh')
0 files changed, 0 insertions, 0 deletions