]> git.ipfire.org Git - thirdparty/bind9.git/commit
use a qp-trie for the forwarders table
authorEvan Hunt <each@isc.org>
Thu, 6 Apr 2023 06:08:12 +0000 (23:08 -0700)
committerOndřej Surý <ondrej@isc.org>
Tue, 15 Aug 2023 12:25:24 +0000 (14:25 +0200)
commitdea79e7053624ff2db6e24ea4bf4d32e04d6e08f
treebc32729d259f8d356987da21650abefe89fb4635
parent5768dd96ea66c5667898f566941061d87a56e215
use a qp-trie for the forwarders table

Instead of an RBT for the forwarders table, use a QP trie.

We now use reference counting for dns_forwarders_t. When a forwarders
object is retrieved by dns_fwdtable_find(), it must now be explicitly
detached by the caller afterward.

QP tries require stored objects to include their names, so the
the forwarders object now has that. This obviates the need to
pass back a separate 'foundname' value from dns_fwdtable_find().
bin/named/server.c
lib/dns/forward.c
lib/dns/include/dns/forward.h
lib/dns/resolver.c
lib/dns/view.c