2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-19 14:37:21 +00:00
Commit Graph

2 Commits

Author SHA1 Message Date
ZhengLingyun
30cc7d2969 hindex: Fix incomplete iteration bug.
hindex_next() make the completely wrong assumption that head nodes within
a bucket were sorted in ascending order by hash.  This commit removes
that assumption.

Also add a test that would have found the problem.

Signed-off-by: ZhengLingyun <konghuarukhr@163.com>
[blp@nicira.com changed how hindex_head_node() is implemented and
 other code details]
Signed-off-by: Ben Pfaff <blp@nicira.com>
2013-07-16 09:58:50 -07:00
Ben Pfaff
822b7f5210 hindex: New data structure for hashed multimaps.
Signed-off-by: Ben Pfaff <blp@nicira.com>
2013-06-18 10:27:34 -07:00