Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: forwarding: Add some missing configuration symbols

For the forwarding selftests to work, we need network namespaces when
using veth/vrf otherwise ping/ping6 commands like these:

ip vrf exec vveth0 /bin/ping 192.0.2.2 -c 10 -i 0.1 -w 5

will fail because network namespaces may not be enabled.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Florian Fainelli and committed by
David S. Miller
ff326d3c 1490ed2a

+2
+2
tools/testing/selftests/net/forwarding/config
··· 10 10 CONFIG_NET_SCH_INGRESS=m 11 11 CONFIG_NET_ACT_GACT=m 12 12 CONFIG_VETH=m 13 + CONFIG_NAMESPACES=y 14 + CONFIG_NET_NS=y