mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 08:39:08 -04:00
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>
This commit is contained in:
committed by
David S. Miller
parent
a99dd629e8
commit
ba22b65edc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user