]> git.ipfire.org Git - thirdparty/bind9.git/commit
Also cleanup the space for the rbt nodes
authorMark Andrews <marka@isc.org>
Tue, 5 Dec 2023 02:15:03 +0000 (13:15 +1100)
committerMark Andrews <marka@isc.org>
Thu, 7 Dec 2023 10:50:02 +0000 (21:50 +1100)
commit2cc84d7678bde4c38b73be18acad8afdc8fcdad8
tree0134e34340a6bbad9a5beb89ae0c22078d19673a
parent8e5bd864160ef9637bff061568fe030819e9cd94
Also cleanup the space for the rbt nodes

As we are in overmem state we want to free more memory than we are
adding so we need to add in an allowance for the rbtnodes that may
have been added and the names stored with them.  There is the node
for the owner name and a possible ENT node if there was a node split.

(cherry picked from commit 7e462c2b26299f77944fb225923b7b01e0017856)
lib/dns/include/dns/rbt.h
lib/dns/rbt.c
lib/dns/rbtdb.c