]> git.proxmox.com Git - mirror_ovs.git/commit - lib/classifier.h
Revert "pvector: Expose non-concurrent priority vector."
authorJarno Rajahalme <jarno@ovn.org>
Wed, 10 Aug 2016 21:58:51 +0000 (14:58 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Wed, 10 Aug 2016 21:58:51 +0000 (14:58 -0700)
commitda9cfca6e2d70c4c8e4bec7ff644a71da149c4b8
tree7c20a7c89e5f65ab9babbd643078455f2afdd053
parentfa44a4a3ff7b27d4763a344e85a258dec5676e66
Revert "pvector: Expose non-concurrent priority vector."

This reverts commit 8bdfe1313894047d44349fa4cf4402970865950f.

I failed to see that lib/dpif-netdev.c actually needs the concurrency
provided by pvector prior to this change.  More specifically, when a
subtable is removed, concurrent lookups may skip over another subtable
swapped in to the place of the removed subtable in the vector.

Since this was the only use of the non-concurrent pvector, it is
cleaner to revert the whole patch.

Reported-by: Jan Scheurich <jan.scheurich@ericsson.com>
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/classifier.c
lib/classifier.h
lib/dpif-netdev.c
lib/pvector.c
lib/pvector.h
tests/test-classifier.c