On Thu, Aug 08, 2013 at 12:58:31PM -0700, Ethan Jackson wrote: > This patch uses a read-write lock to prevent rules from being evicted > while they're used by child threads. > > Signed-off-by: Ethan Jackson <et...@nicira.com>
I don't think anything ever destroys 'evict'. (But POSIX says that only an unlocked rwlock may be destroyed.) This line in add_flow() should not compile: ovs_rwlock_wrlock(&evict->evict) but we have a buggy macro. I sent out a fix for the macro: http://openvswitch.org/pipermail/dev/2013-August/030509.html I'm continuing to look at this patch. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev