Commit efa7b79f authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller

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: 54818c4c ("selftests: forwarding: Test multipath tunneling")
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Reported-by: default avatarStephen Suryaputra <ssuryaextr@gmail.com>
Tested-by: default avatarStephen Suryaputra <ssuryaextr@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b3e487c0
...@@ -187,12 +187,16 @@ setup_prepare() ...@@ -187,12 +187,16 @@ setup_prepare()
sw1_create sw1_create
sw2_create sw2_create
h2_create h2_create
forwarding_enable
} }
cleanup() cleanup()
{ {
pre_cleanup pre_cleanup
forwarding_restore
h2_destroy h2_destroy
sw2_destroy sw2_destroy
sw1_destroy sw1_destroy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment