]> 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:09:34 +0000 (16:09 +0100)
commitabe080d16eac4f5dcca62cb08bd9ca2f82bdaa2b
tree90b9cd76eddb44b77e261b5fa8bced2a3e2bc5eb
parent5709230a3eef5532c9aed918570047bece4a6cb0
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)
lib/dns/rbtdb.c