]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
temporary hack
authorAlan T. DeKok <aland@freeradius.org>
Thu, 25 Jan 2018 22:34:03 +0000 (17:34 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 25 Jan 2018 22:34:03 +0000 (17:34 -0500)
src/modules/proto_radius/proto_radius_udp.c

index 929032d064c8e8c318359c2aec111b17b3efbca3..a0602d2bf33f3107ccc2012e536e7fb76c2f4b1f 100644 (file)
@@ -1479,6 +1479,8 @@ static ssize_t mod_write(void *instance, void *packet_ctx,
                 *      allocated one.
                 */
                while ((entry = FR_DLIST_FIRST(client->packets)) != NULL) {
+                       if (entry->next == entry->prev) break; /* temporary hack */
+
                        saved = fr_ptr_to_type(dynamic_packet_t, entry, entry);
                        (void) talloc_get_type_abort(saved, dynamic_packet_t);