]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove expired rdataset headers from the heap
authorOndřej Surý <ondrej@isc.org>
Tue, 20 Feb 2024 07:50:58 +0000 (08:50 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 29 Feb 2024 15:13:18 +0000 (16:13 +0100)
commit1c3dd0d0ff4f869faff9e03beb19703ff99ca278
tree9997ceba919eea9502df42da1b28629a54fe13d8
parent9f4790d7cc15e553f1251fea1ec5d7cff1717eaa
Remove expired rdataset headers from the heap

It was discovered that an expired header could sit on top of the heap
a little longer than desireable.  Remove expired headers (headers with
rdh_ttl set to 0) from the heap completely, so they don't block the next
TTL-based cleaning.

(cherry picked from commit a9383e4b95256a65f9f05e64a79b086a9a1ed035)
(cherry picked from commit 756555dbcf8b813942420f8ec059c2df9e543308)
lib/dns/rbtdb.c