On 16 May 2025, at 23:25, Ilya Maximets wrote:

> Same rule can be in multiple prefix trees and so it is possible that
> the total number of rules in all trees exceeds the total number of
> rules in the classifier.  But the number of rules in a single prefix
> tree still can't exceed the total number of rules in the classifier.
> Move the check accordingly.
>
> Note: checkpatch complains about usage of the assert(), but it is
> everywhere in this file and so, not changing in just this one place.
>
> Fixes: f358a2cb2e54 ("lib/classifier: RCUify prefix trie code.")
> Signed-off-by: Ilya Maximets <i.maxim...@ovn.org>

The change looks good to me.

Acked-by: Eelco Chaudron <echau...@redhat.com>

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to