]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: ovpn: add nftables config dependencies for test-mark
authorRalf Lici <ralf@mandelbit.com>
Tue, 24 Mar 2026 07:48:57 +0000 (08:48 +0100)
committerAntonio Quartulli <antonio@openvpn.net>
Fri, 17 Apr 2026 08:54:03 +0000 (10:54 +0200)
commite5fd34ab8dff6c5bd4f2e9ee4f3945b79e511068
tree96fd884899db9372543042ea20432a4bb8d5a9f4
parent82c21069028c5db3463f851ae8ac9cc2e38a3827
selftests: ovpn: add nftables config dependencies for test-mark

test-mark.sh installs nftables rules in an inet/filter output chain and
verifies packet drops via nft counters. In vmksft this can fail when the
nftables core is not enabled by the ovpn selftest config.

Add the missing kernel options required by this test:
- CONFIG_NETFILTER
- CONFIG_NF_TABLES
- CONFIG_NF_TABLES_INET

Fixes: 7b80d8a33500 ("selftests: ovpn: add test for the FW mark feature")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Closes: https://lore.kernel.org/all/20260319124114.42f91f72@kernel.org/
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
tools/testing/selftests/net/ovpn/config