On 9/30/25 9:41 AM, Aleksandr Smirnov wrote: > OVN cannot apply COPP because ovn-controller unable to allocate > a meter ID from id_pool. > The id_pool_create(base, n_ids) is supposing the base + n_ds > does not overlap uint32 upper border. However this is not true > for combination of the base = 1 (provided by ovn) and > n_ids = 0xFFFFFFFF provided from some old openvswitch kmods > (prior kernel 5.8). > I have provided a sanity check for OVS id_pool_init(), so now > an ovs_assert will be launched if a pair of base/n_ids is not proper. > > This fix corrects OVN call of id_pool_create and adjusts n_ids > if it is too big. > > Signed-off-by: Aleksandr Smirnov <[email protected]> > ---
Hi Aleksandr, Thanks for the fix, looks good to me! Applied to main and all stable branches down to 24.03. Regards, Dumitru _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
