* [PATCH net-next] selftests: forwarding: Add some missing configuration symbols
@ 2019-02-15 18:14 Florian Fainelli
2019-02-16 4:32 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2019-02-15 18:14 UTC (permalink / raw)
To: netdev
Cc: Florian Fainelli, David S. Miller, Shuah Khan, Ido Schimmel,
Jiri Pirko, open list:KERNEL SELFTEST FRAMEWORK, open list
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>
---
tools/testing/selftests/net/forwarding/config | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/net/forwarding/config b/tools/testing/selftests/net/forwarding/config
index 5cd2aed97958..da96eff72a8e 100644
--- a/tools/testing/selftests/net/forwarding/config
+++ b/tools/testing/selftests/net/forwarding/config
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] selftests: forwarding: Add some missing configuration symbols
2019-02-15 18:14 [PATCH net-next] selftests: forwarding: Add some missing configuration symbols Florian Fainelli
@ 2019-02-16 4:32 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-02-16 4:32 UTC (permalink / raw)
To: f.fainelli; +Cc: netdev, shuah, idosch, jiri, linux-kselftest, linux-kernel
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Fri, 15 Feb 2019 10:14:52 -0800
> 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>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-16 4:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 18:14 [PATCH net-next] selftests: forwarding: Add some missing configuration symbols Florian Fainelli
2019-02-16 4:32 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).