]> git.itanic.dy.fi Git - linux-stable/commit
selftests: net: add missing config for nftables-backed iptables
authorJakub Kicinski <kuba@kernel.org>
Fri, 26 Jan 2024 20:13:08 +0000 (12:13 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Jan 2024 02:32:30 +0000 (18:32 -0800)
commit59c93583491ab15db109f9902524d241c4fa4c0b
tree030ed444cdd67c7c9b727a322dc987eec3c29de7
parentc44fc98f0a8ffd94fa0bd291928e7e312ffc7ca4
selftests: net: add missing config for nftables-backed iptables

Modern OSes use iptables implementation with nf_tables as a backend,
e.g.:

$ iptables -V
iptables v1.8.8 (nf_tables)

Pablo points out that we need CONFIG_NFT_COMPAT to make that work,
otherwise we see a lot of:

  Warning: Extension DNAT revision 0 not supported, missing kernel module?

with DNAT being just an example here, other modules we need
include udp, TTL, length etc.

Link: https://lore.kernel.org/r/20240126201308.2903602-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/config