From: Ido Schimmel Date: Tue, 23 Jul 2019 08:19:25 +0000 (+0300) Subject: selftests: forwarding: gre_multipath: Enable IPv4 forwarding X-Git-Tag: v5.4-rc1~378^2~110^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efa7b79f675da0efafe3f32ba0d6efe916cf4867;p=platform%2Fkernel%2Flinux-rpi.git selftests: forwarding: gre_multipath: Enable IPv4 forwarding The test did not enable IPv4 forwarding during its setup phase, which causes the test to fail on machines where IPv4 forwarding is disabled. Fixes: 54818c4c4b93 ("selftests: forwarding: Test multipath tunneling") Signed-off-by: Ido Schimmel Reported-by: Stephen Suryaputra Tested-by: Stephen Suryaputra Signed-off-by: David S. Miller --- diff --git a/tools/testing/selftests/net/forwarding/gre_multipath.sh b/tools/testing/selftests/net/forwarding/gre_multipath.sh index cca2baa..37d7297 100755 --- a/tools/testing/selftests/net/forwarding/gre_multipath.sh +++ b/tools/testing/selftests/net/forwarding/gre_multipath.sh @@ -187,12 +187,16 @@ setup_prepare() sw1_create sw2_create h2_create + + forwarding_enable } cleanup() { pre_cleanup + forwarding_restore + h2_destroy sw2_destroy sw1_destroy