]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
for simplicity, put rb node into dedup context
authorAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2024 13:44:22 +0000 (09:44 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2024 13:44:22 +0000 (09:44 -0400)
src/lib/bio/dedup.c

index 3b3348d2abad4095add21537a513a6e11c30d497..471a0191f11bcdd126b09d6873259a72e068bd8d 100644 (file)
@@ -98,6 +98,8 @@ struct fr_bio_dedup_entry_s {
        uint8_t         *reply;                 //!< reply cached by the application
        size_t          reply_size;             //!< size of the cached reply
 
+       fr_rb_node_t    dedup;                  //!< user managed dedup node
+
        union {
                struct {
                        fr_rb_node_t    node;           //!< for the expiry timers