On Mon, 13 Jul 2026 at 16:08, Ilya Maximets <[email protected]> wrote:
>
> The test creates an OpenFlow pipeline with deeply nested resubmits
> in order to trigger packet drops with the 'too many resubmits' reason.
>
> However, it doesn't use bundles and the priorities on the rules are
> the same while matches can technically overlap between the in_port
> ones and the dl_type ones.  So, if a packet, e.g., ICMPv6 ND, enters
> OVS while the pipeline is not fully configured yet, this packet can
> hit only a subset of resubmits that doesn't reach the limit and it
> will be sent many times to the local port.  This could confuse the
> system and mess up counters, as well as create a lot of unnecessary
> traffic.
>
> Let's set the rules up more carefully with proper priorities and
> passing ICMPv6 traffic via normal pipeline, so only ICMP packets
> generated by the ping will hit the resubmits.  Also using a bundle,
> so packets never hit a partially configured pipeline.
>
> Fixes: edf56245b828 ("tests: system-traffic: Add coverage for drop action.")
> Signed-off-by: Ilya Maximets <[email protected]>

I would have written the rules in the other way: narrow down the
resubmit rule with a priority, and a icmp filter, and let in place the
default rule with normal action.
But this current form looks good to me.

Acked-by: David Marchand <[email protected]>


-- 
David Marchand

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to