diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-15 19:14:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-16 05:32:22 +0100 |
commit | ff326d3cdff92a8fce1189f435f0fcaad765b1d4 (patch) | |
tree | 4b47b8b370f26a8a161efc8552148f1e5eaf1fd3 /tools | |
parent | net/ipv6: prefer rcu_access_pointer() over rcu_dereference() (diff) | |
download | linux-ff326d3cdff92a8fce1189f435f0fcaad765b1d4.tar.xz linux-ff326d3cdff92a8fce1189f435f0fcaad765b1d4.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/net/forwarding/config | 2 |
1 files changed, 2 insertions, 0 deletions
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 |