]> git.ipfire.org Git - thirdparty/bind9.git/commit
minimize calls to dns_zone_gethooktable per qctx
authorEvan Hunt <each@isc.org>
Wed, 10 Sep 2025 21:05:42 +0000 (14:05 -0700)
committerEvan Hunt <each@isc.org>
Wed, 10 Sep 2025 21:05:42 +0000 (14:05 -0700)
commit637e8d01d2433fbd7b9b56565e9ed59f33e4f759
tree924f1855381a5a2ff8971c06c4c6482812642d8a
parent65f6e8fdbce9876fdb7ce7850f1748d87004debb
minimize calls to dns_zone_gethooktable per qctx

add a 'zhooks' member to the query_ctx structure, so that we only
need to look up the hook table for the zone once when iniitalizing
a qctx, and not once for every hook point.
lib/dns/zone.c
lib/ns/include/ns/query.h
lib/ns/query.c