From 6e4ecf7bc1ee90aacc0e46534e13e1061849891d Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Thu, 4 Mar 2021 14:13:44 +0100 Subject: [PATCH] - 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. --- doc/Changelog | 3 +++ services/mesh.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) 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); }