Re: [ovs-dev] [PATCH v4 04/12] classifier: Make traversing identical rules robust.

2015-06-11 Thread Jarno Rajahalme
> On Jun 10, 2015, at 4:36 PM, Ben Pfaff wrote: > > On Tue, Jun 09, 2015 at 05:24:11PM -0700, Jarno Rajahalme wrote: >> The traversal of the list of identical rules from the lookup threads >> is fragile in the list head is removed during the list traversal. > > fragile "if" the list head…? Fix

Re: [ovs-dev] [PATCH v4 04/12] classifier: Make traversing identical rules robust.

2015-06-10 Thread Ben Pfaff
On Tue, Jun 09, 2015 at 05:24:11PM -0700, Jarno Rajahalme wrote: > The traversal of the list of identical rules from the lookup threads > is fragile in the list head is removed during the list traversal. fragile "if" the list head...? > This patch simplifies the implementation of that list by mak

[ovs-dev] [PATCH v4 04/12] classifier: Make traversing identical rules robust.

2015-06-09 Thread Jarno Rajahalme
The traversal of the list of identical rules from the lookup threads is fragile in the list head is removed during the list traversal. This patch simplifies the implementation of that list by making the list NULL terminated, singly linked RCU-protected list. By having the NULL at the end there is