]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove db_nodelock_t in favor of reference counted qpdb
authorOndřej Surý <ondrej@isc.org>
Mon, 27 Jan 2025 20:07:11 +0000 (21:07 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 31 Jan 2025 04:49:36 +0000 (05:49 +0100)
commit7dab6cdfbc26bfa3aa37168c382563047d4dee95
tree0d9221ca7bc211b79fcf0b9f4f00e2103c3c2418
parent082a54cc5d8e5c5490e990c772d78b81472c1d0a
Remove db_nodelock_t in favor of reference counted qpdb

This removes the db_nodelock_t structure and changes the node_locks
array to be composed only of isc_rwlock_t pointers.  The .reference
member has been moved to qpdb->references in addition to
common.references that's external to dns_db API users.  The .exiting
members has been completely removed as it has no use when the reference
counting is used correctly.

(cherry picked from commit 431513d8b3cc595a7612479fd7811e959501e6dd)
lib/dns/qpcache.c
lib/dns/qpzone.c
tests/dns/qpzone_test.c