]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
prioritize status checks
authorAlan T. DeKok <aland@freeradius.org>
Tue, 25 Feb 2020 14:19:55 +0000 (09:19 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 26 Feb 2020 16:22:03 +0000 (11:22 -0500)
in preparation for making them part of the trunk

src/modules/rlm_radius/rlm_radius_udp.c

index b12b67af9b3c678a81404730ace5a106195ddeb5..8c4dbf8521c5069712d3ad0d0ef26b33482e34c2 100644 (file)
@@ -321,6 +321,11 @@ static void status_check_alloc(fr_event_list_t *el, udp_handle_t *h)
 
        u = talloc_zero(h, udp_request_t);
 
+       /*
+        *      Status checks are prioritized over any other packet
+        */
+       u->priority = ~(uint32_t) 0;
+
        /*
         *      Allocate outside of the free list.
         *      There appears to be an issue where