[ovs-discuss] CLS_CURSOR_FOR_EACH vs CLS_CURSOR_FOR_EACH_SAFE
Ben Pfaff
blp at nicira.com
Mon Oct 27 15:41:24 UTC 2014
On Mon, Oct 27, 2014 at 07:40:52PM +0530, Padma Jayasankar wrote:
> In OVS source code CLS_CURSOR_FOR_EACH, CLS_CURSOR_FOR_EACH_SAFE have been
> used to iterate through the flow table entries.What is the difference
> between these two? Please clarify.
Do you mean CLS_FOR_EACH and CLS_FOR_EACH_SAFE? The difference is noted
in a comment:
/* These forms allows classifier_remove() to be called within the loop. */
More information about the discuss
mailing list