selftests: forwarding: mirror_gre_bridge_1q_lag: Enable forwarding
authorPetr Machata <petrm@mellanox.com>
Thu, 31 Jan 2019 22:35:24 +0000 (22:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 23:26:36 +0000 (15:26 -0800)
This test relies on routing in the primary traffic path, but neglects to
enable forwarding. Do so.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q_lag.sh

index ce60e305081184c9d817d0bf0630c7270103efeb..1900c31e938c0ce0b44ebfa5f669045d99d38048 100755 (executable)
@@ -190,6 +190,8 @@ setup_prepare()
        h4_create
        switch_create
 
+       forwarding_enable
+
        trap_install $h3 ingress
        trap_install $h4 ingress
 }
@@ -201,6 +203,8 @@ cleanup()
        trap_uninstall $h4 ingress
        trap_uninstall $h3 ingress
 
+       forwarding_restore
+
        switch_destroy
        h4_destroy
        h3_destroy