Re: [ovs-dev] [PATCH v5 12/15] rculist: use multi-variable helpers for loop macros

2022-03-24 Thread Dumitru Ceara
On 3/23/22 12:56, Adrian Moreno wrote: > Use multi-variable iteration helpers to rewrite rculist loops macros. > > There is an important behavior change compared with the previous > implementation: When the loop ends normally (i.e: not via "break;"), > the object pointer provided by the user is NU

[ovs-dev] [PATCH v5 12/15] rculist: use multi-variable helpers for loop macros

2022-03-23 Thread Adrian Moreno
Use multi-variable iteration helpers to rewrite rculist loops macros. There is an important behavior change compared with the previous implementation: When the loop ends normally (i.e: not via "break;"), the object pointer provided by the user is NULL. This is safer because it's not guaranteed tha