From: Alan T. DeKok Date: Thu, 19 Oct 2017 18:16:52 +0000 (-0400) Subject: set the backlog from the parent who has it X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453497e88c138ae4152d0aebfc62a762f2e75509;p=thirdparty%2Ffreeradius-server.git set the backlog from the parent who has it --- diff --git a/src/main/request.c b/src/main/request.c index d9b6b59b434..64985a64d1b 100644 --- a/src/main/request.c +++ b/src/main/request.c @@ -280,7 +280,14 @@ int request_detach(REQUEST *fake) } fake->parent = NULL; + + while (!request->backlog) { + rad_assert(request->parent != NULL); + request = request->parent; + } + fake->backlog = request->backlog; + return 0; }