From: W.C.A. Wijngaards Date: Thu, 4 Mar 2021 13:13:44 +0000 (+0100) Subject: - Fix spurious errors about "Could not generate request: out of X-Git-Tag: release-1.13.2rc1~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e4ecf7bc1ee90aacc0e46534e13e1061849891d;p=thirdparty%2Funbound.git - Fix spurious errors about "Could not generate request: out of memory". The mesh detect cycle routine no longer wrongly stops the check when the calling mesh state is unique. --- diff --git a/doc/Changelog b/doc/Changelog index d2b76a0cd..accfaade9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,8 @@ 4 March 2021: Wouter - iana portlist update. + - Fix spurious errors about "Could not generate request: out of + memory". The mesh detect cycle routine no longer wrongly stops + the check when the calling mesh state is unique. 26 February 2021: George - Fix for #367: rc_ports don't have ub_sock; skip cleaning up. diff --git a/services/mesh.c b/services/mesh.c index 91d23debf..88b3d15d0 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -1813,8 +1813,7 @@ mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo, { struct mesh_area* mesh = qstate->env->mesh; struct mesh_state* dep_m = NULL; - if(!mesh_state_is_unique(qstate->mesh_info)) - dep_m = mesh_area_find(mesh, NULL, qinfo, flags, prime, valrec); + dep_m = mesh_area_find(mesh, NULL, qinfo, flags, prime, valrec); return mesh_detect_cycle_found(qstate, dep_m); }