]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: mirror_gre_vlan_bridge_1q: Fix roaming test
authorPetr Machata <petrm@mellanox.com>
Thu, 31 Jan 2019 22:35:21 +0000 (22:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 23:26:36 +0000 (15:26 -0800)
commit01b2245b29c098cb097373a279204ba55ec8baea
tree7174bf02af291a1eb541d628f00e6c87f04fa4da
parent3718d84a7c1f5d3116d23423acbbb381d951c936
selftests: forwarding: mirror_gre_vlan_bridge_1q: Fix roaming test

ARP or ND traffic can cause spurious migration of FDB back to $swp3.
Mirroring is then updated in accordance with the change, and mirrored
packets are seen at h3, causing a failure.

Detect the case of this spurious roaming, and retry the test.

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