summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-01-26 12:13:08 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-05 20:17:10 +0000
commit40d7bec12697e8839dffece1047edcab175ec970 (patch)
treefdf8a8ddf939494ea94f12ebe92177ba19b9e36b
parent3ffe14c36985e3174933127c9efad82ac8f3fefb (diff)
downloadlinux-stable-40d7bec12697e8839dffece1047edcab175ec970.tar.gz
linux-stable-40d7bec12697e8839dffece1047edcab175ec970.tar.bz2
linux-stable-40d7bec12697e8839dffece1047edcab175ec970.zip
selftests: net: add missing config for nftables-backed iptables
[ Upstream commit 59c93583491ab15db109f9902524d241c4fa4c0b ] 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> Stable-dep-of: f7c25d8e17dd ("selftests: net: add missing config for pmtu.sh tests") Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--tools/testing/selftests/net/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
index dad385f73612..77a173635a29 100644
--- a/tools/testing/selftests/net/config
+++ b/tools/testing/selftests/net/config
@@ -62,6 +62,7 @@ CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_FQ=m
CONFIG_NET_SCH_ETF=m
CONFIG_NET_SCH_NETEM=y
+CONFIG_NFT_COMPAT=m
CONFIG_NF_FLOW_TABLE=m
CONFIG_PSAMPLE=m
CONFIG_TCP_MD5SIG=y