Re: [ovs-dev] [PATCH] dns-resolve: Fix a bug that frees node inside HMAP_FOR_EACH

2018-08-16 Thread Ben Pfaff
On Thu, Aug 16, 2018 at 05:28:26AM -0700, Yifeng Sun wrote: > HMAP_FOR_EACH_SAFE should be used when node is freed inside. > > Signed-off-by: Yifeng Sun Thanks, applied to master and branch-2.10. ___ dev mailing list d...@openvswitch.org https://mail.o

[ovs-dev] [PATCH] dns-resolve: Fix a bug that frees node inside HMAP_FOR_EACH

2018-08-16 Thread Yifeng Sun
HMAP_FOR_EACH_SAFE should be used when node is freed inside. Signed-off-by: Yifeng Sun --- lib/dns-resolve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns-resolve.c b/lib/dns-resolve.c index 299ab27ab5ca..3c6d70e8fbba 100644 --- a/lib/dns-resolve.c +++ b/lib/dns