selftests: net: Enable legacy netfilter legacy options.
authorFlorian Westphal <fw@strlen.de>
Mon, 30 Jun 2025 15:44:24 +0000 (17:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 25 Jul 2025 16:38:55 +0000 (18:38 +0200)
commit3c3ab65f00ebf7859d93e29980eb9a9c5bc64642
tree1d94280e05ffb8b707a2e4900106148b3bd143aa
parent9fce66583f06c212e95e4b76dd61d8432ffa56b6
selftests: net: Enable legacy netfilter legacy options.

Some specified options rely on NETFILTER_XTABLES_LEGACY to be enabled.
IP_NF_TARGET_TTL for instance depends on IP_NF_MANGLE which in turn
depends on IP_NF_IPTABLES_LEGACY -> NETFILTER_XTABLES_LEGACY.

Enable relevant iptables config options explicitly, this is needed
to avoid breakage when symbols related to iptables-legacy
will depend on NETFILTER_LEGACY resp. IP_TABLES_LEGACY.

This also means that the classic tables (Kernel modules) will
not be enabled by default, so enable them too.

Signed-off-by: Florian Westphal <fw@strlen.de>
[bigeasy: Split out the config bits from the main patch]
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/bpf/config
tools/testing/selftests/hid/config.common
tools/testing/selftests/net/config
tools/testing/selftests/net/mptcp/config
tools/testing/selftests/net/netfilter/config
tools/testing/selftests/wireguard/qemu/kernel.config