]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
radius: Return treq to the free list if there's no upstreams
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 18 Apr 2023 11:12:19 +0000 (21:12 +1000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 18 Apr 2023 11:13:01 +0000 (21:13 +1000)
src/modules/rlm_radius/rlm_radius_udp.c

index b70b238b0b35b3d915bc02184fdaac1f10a51c12..05847d69e5c9f574a12bd01ea6ccf5f0efd704fa 100644 (file)
@@ -2765,6 +2765,7 @@ static unlang_action_t mod_enqueue(rlm_rcode_t *p_result, void **rctx_out, void
         */
        if (q == FR_TRUNK_ENQUEUE_IN_BACKLOG) {
                RDEBUG("All destinations are down - cannot send packet");
+               fr_trunk_request_signal_cancel(treq);
                goto fail;
        }