Re: [ovs-dev] [PATCH v2] cmap: Fix cmap_next_position()

2014-07-16 Thread Ben Pfaff
On Wed, Jul 16, 2014 at 10:46:20AM -0700, Daniele Di Proietto wrote: > cmap_next_position() didn't update the node pointer while iterating through a > list of nodes with the same hash. > This commit fixes the bug and improve test-cmap to detect it. > > Signed-off-by: Daniele Di Proietto Applied,

[ovs-dev] [PATCH v2] cmap: Fix cmap_next_position()

2014-07-16 Thread Daniele Di Proietto
cmap_next_position() didn't update the node pointer while iterating through a list of nodes with the same hash. This commit fixes the bug and improve test-cmap to detect it. Signed-off-by: Daniele Di Proietto --- lib/cmap.c| 2 +- tests/test-cmap.c | 20 +++- 2 files cha