On 6/10/26 11:00 AM, Adrian Moreno via dev wrote:
> The setup of these tests includes, among other things, creating a pair of
> veth ports and adding both ends to the same ovs bridge.
> This is use as a loopback monitoring. Openflow flows are created to
> send (truncated) traffic through one end, and drop everything that comes
> from the other end.
> 
> However, Openflow flows are created after wiring up the ports so there
> is some time during which the bridge (br0) has "action=NORMAL" with both
> ends of a veth pair connected to it. This could easily lead to a packet
> loop if the kernel automatically generates any multicast traffic
> (e.g: IPv6 NDP, IGMP MLD, etc) on those interfaces.
> 
> I guess normally the test is quick enough to remove the default flow and
> install the new ones, but I was running the test suite on a debug kernel
> and reproduced the loop with considerable consistency.
> 
> Fix it by removing the default flow before doing the non-conventional
> loopback wiring.
> 
> Signed-off-by: Adrian Moreno <[email protected]>
> ---
>  tests/system-traffic.at | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Thanks, Adrian!  Applied and backported down to 3.3.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to