]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: dev: Refactor reference counting in both QPDB and RBTDB
authorOndřej Surý <ondrej@isc.org>
Fri, 31 Jan 2025 05:48:14 +0000 (05:48 +0000)
committerOndřej Surý <ondrej@isc.org>
Fri, 31 Jan 2025 05:48:14 +0000 (05:48 +0000)
commit3244f7848fd78c536dd4d8add1fca49a073c366e
tree64af1c98a990745fe2ce8c32186cfba8d4da800e
parent8662424442c8c8492d6aebcb9f164165c690ce5a
parent857225aeb65497f979e459269f6425f88f0e3cd2
[9.20] chg: dev: Refactor reference counting in both QPDB and RBTDB

Clean up the pattern in the newref() and decref() functions in QP and RBTDB databases.  Replace the `db_nodelock_t` structure with plain reference counting for every active database node in QPDB.

Related to #5134

Backport of MR !10006

Merge branch 'backport-5134-refactor-decref-functions-in-qpdb-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10035