Skip to content

Commit ba22b65

Browse files
pmachatadavem330
authored andcommitted
selftests: forwarding: mirror_gre_bridge_1q_lag: Enable forwarding
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>
1 parent a99dd62 commit ba22b65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q_lag.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ setup_prepare()
190190
h4_create
191191
switch_create
192192

193+
forwarding_enable
194+
193195
trap_install $h3 ingress
194196
trap_install $h4 ingress
195197
}
@@ -201,6 +203,8 @@ cleanup()
201203
trap_uninstall $h4 ingress
202204
trap_uninstall $h3 ingress
203205

206+
forwarding_restore
207+
204208
switch_destroy
205209
h4_destroy
206210
h3_destroy

0 commit comments

Comments
 (0)