Skip to content

Commit

Permalink
selftests: forwarding: Add some missing configuration symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Feb 16, 2019
1 parent 1490ed2 commit ff326d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/testing/selftests/net/forwarding/config
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ff326d3

Please sign in to comment.