]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove node and db pointer from dns_rdataset_t.vec
authorAlessio Podda <alessio@isc.org>
Mon, 2 Mar 2026 12:52:02 +0000 (13:52 +0100)
committerAlessio Podda <alessio@isc.org>
Tue, 31 Mar 2026 14:22:56 +0000 (16:22 +0200)
commit6202492509d37dcd67e0fcbdf46e1cbecac61e11
tree71d6963b8d45db55facd5f823e43c042eaca0298
parent3521900ecda1544bccfc9d6926e7163ca736ddf7
Remove node and db pointer from dns_rdataset_t.vec

Now that we track the references at the vecheader level, binding an
rdataset is no longer guaranteed to keep its node alive. Therefore
remove the node pointer from the rdataset, and instead decide whether
glue is required by explicitely passing the owner name to addglue.
lib/dns/db.c
lib/dns/db_p.h
lib/dns/include/dns/db.h
lib/dns/include/dns/rdataset.h
lib/dns/qpzone.c
lib/ns/query.c
tests/dns/qpzone_test.c