]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: forwarding: Add missing config entries
authorPetr Machata <petrm@nvidia.com>
Fri, 26 Jan 2024 16:36:16 +0000 (17:36 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:28 +0000 (18:19 -0400)
commit7cb8a8ee4938a993ee81e307e4559a8c9bdf50c6
tree522e290dafd9a21f5d341771cb243daa0bfe826b
parentd19c74e20bc52d00b3109a3433bc168f18afa8ba
selftests: forwarding: Add missing config entries

[ Upstream commit 4acf4e62cd572b0c806035046b3698f5585ab821 ]

The config file contains a partial kernel configuration to be used by
`virtme-configkernel --custom'. The presumption is that the config file
contains all Kconfig options needed by the selftests from the directory.

In net/forwarding/config, many are missing, which manifests as spurious
failures when running the selftests, with messages about unknown device
types, qdisc kinds or classifier actions. Add the missing configurations.

Tested the resulting configuration using virtme-ng as follows:

 # vng -b -f tools/testing/selftests/net/forwarding/config
 # vng --user root
 (within the VM:)
 # make -C tools/testing/selftests TARGETS=net/forwarding run_tests

Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/025abded7ff9cea5874a7fe35dcd3fd41bf5e6ac.1706286755.git.petrm@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Stable-dep-of: f0ddf15f0a74 ("selftests: forwarding: Add missing multicast routing config entries")
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/forwarding/config