]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
selftests: forwarding: mirror_gre_vlan_bridge_1q: Test final config
authorPetr Machata <petrm@mellanox.com>
Thu, 31 May 2018 17:52:32 +0000 (19:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jun 2018 18:11:02 +0000 (14:11 -0400)
After the final change reestablishes the original configuration, make
sure the traffic flows again as it should.

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

index 29fde7332c8871427f77f4be40b4beec2d53094b..0a3bac96f88353b95f7800fdb86b59765a8e907c 100755 (executable)
@@ -91,12 +91,13 @@ test_span_gre_forbidden()
        # Now forbid the VLAN at the bridge and see it fail.
        bridge vlan del dev br1 vid 555 self
        sleep 1
-
        fail_test_span_gre_dir $tundev ingress
-       mirror_uninstall $swp1 ingress
 
        bridge vlan add dev br1 vid 555 self
        sleep 1
+       quick_test_span_gre_dir $tundev ingress
+
+       mirror_uninstall $swp1 ingress
 
        log_test "$what: vlan forbidden at a bridge ($tcflags)"
 }