mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
selftests: forwarding: mirror_gre_vlan_bridge_1q: Test final config
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>
This commit is contained in:
parent
b996078ea9
commit
a6f3282e2f
@ -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)"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user