Re: [PATCH net-next] selftests: forwarding: mirror_lib: Tighten up VLAN capture

2018-07-10 Thread David Miller
From: Petr Machata Date: Sun, 08 Jul 2018 19:58:55 +0200 > The function do_test_span_vlan_dir_ips() is used for testing whether > mirrored packets are VLAN-encapsulated. But since it only considers > VLAN encapsulation, it may end up matching unmirrored ARP traffic as > well. One consequence is a

[PATCH net-next] selftests: forwarding: mirror_lib: Tighten up VLAN capture

2018-07-08 Thread Petr Machata
The function do_test_span_vlan_dir_ips() is used for testing whether mirrored packets are VLAN-encapsulated. But since it only considers VLAN encapsulation, it may end up matching unmirrored ARP traffic as well. One consequence is a rare failure of mirror_gre_vlan_bridge_1q's test_gretap_untagged_e