]> 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:14:05 +0000 (16:14 +0100)
commit10824954397955c90b671fea7b9bcf9d5b119a35
tree93dc283b85338a0b5649794518625bb6435709ac
parente1db06d1a6885209a9630e8bd672286f4ff6e8b1
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 abe080d16eac4f5dcca62cb08bd9ca2f82bdaa2b)
lib/dns/rbtdb.c