Re: [ovs-dev] [PATCH ovn 3/4 v4] ovn-nbd: Fix unsafe HMAP_FOR_EACH_WITH_HASH usage.

2015-04-16 Thread Ben Pfaff
On Tue, Apr 14, 2015 at 09:52:54PM -0400, Russell Bryant wrote: > The previous code assumed that hash_node would be NULL when the loop > terminated without a match. That's not the case, so track the match a > little differently. > > Signed-off-by: Russell Bryant Thanks, I applied patches 1, 2,

[ovs-dev] [PATCH ovn 3/4 v4] ovn-nbd: Fix unsafe HMAP_FOR_EACH_WITH_HASH usage.

2015-04-14 Thread Russell Bryant
The previous code assumed that hash_node would be NULL when the loop terminated without a match. That's not the case, so track the match a little differently. Signed-off-by: Russell Bryant --- ovn/ovn-nbd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ovn/ovn-nbd.c b