Skip to contentSkip to conversation

selftests: forwarding: Add some missing configuration symbols

PATCH Applied Florian Fainelli 2 participants 2 messages Feb 15, 2019 – Feb 16, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 at gmail.com>
---
 tools/testing/selftests/net/forwarding/config | 2 ++
 1 file changed, 2 insertions(+)
tools/testing/selftests/net/forwarding/config +2 -0
index 5cd2aed97958..da96eff72a8e 100644
@@ -10,3 +10,5 @@ CONFIG_NET_CLS_FLOWER=m
 CONFIG_NET_SCH_INGRESS=m
 CONFIG_NET_ACT_GACT=m
 CONFIG_VETH=m
+CONFIG_NAMESPACES=y
+CONFIG_NET_NS=y
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw

From: Florian Fainelli <f.fainelli at gmail.com>
Date: Fri, 15 Feb 2019 10:14:52 -0800

Quoted 8 lines

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 at gmail.com>

Applied.