Re: [ovs-dev] [PATCH ovn v2] ovn-nbctl: Monitor nb_cfg to detect and handle potential overflows

2021-08-24 Thread Numan Siddique
On Sat, Aug 21, 2021 at 1:15 PM wrote: > > From: Mohammad Heib > > ovn-nbctl sync command will increase nb_cfg value each time it is executed > with a specific wait_type, this increment will be handled without testing > the current nb_cfg value because it is not monitored and that could lead >

[ovs-dev] [PATCH ovn v2] ovn-nbctl: Monitor nb_cfg to detect and handle potential overflows

2021-08-21 Thread mheib
From: Mohammad Heib ovn-nbctl sync command will increase nb_cfg value each time it is executed with a specific wait_type, this increment will be handled without testing the current nb_cfg value because it is not monitored and that could lead to an overflow issue if nb_cfg == LLONG_MAX. To avoid