bind9/bin
Ondřej Surý 5baf3ac3b6 Refactor dns_rpz unit to use single reference counting
The dns_rpz_zones structure was using .refs and .irefs for strong and
weak reference counting.  Rewrite the unit to use just a single
reference counting + shutdown sequence (dns_rpz_destroy_rpzs) that must
be called by the creator of the dns_rpz_zones_t object.  Remove the
reference counting from the dns_rpz_zone structure as it is not needed
because the zone objects are fully embedded into the dns_rpz_zones
structure and dns_rpz_zones_t object must never be destroyed before all
dns_rpz_zone_t objects.

The dns_rps_zones_t reference counting uses the new ISC_REFCOUNT_TRACE
capability - enable by defining DNS_RPZ_TRACE in the dns/rpz.h header.

Additionally, add magic numbers to the dns_rpz_zone and dns_rpz_zones
structures.

(cherry picked from commit 77659e7392)
2023-02-14 09:58:16 +00:00
..
check Fix the reference to RFC 1035 in named-compilezone(1) 2023-02-13 16:33:38 +00:00
confgen Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
delv Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
dig Refactor isc_nm_xfr_allowed() 2023-01-19 12:20:10 +00:00
dnssec dnssec-checkds: cleanup memory on error paths 2023-02-09 09:00:28 +11:00
named Refactor dns_rpz unit to use single reference counting 2023-02-14 09:58:16 +00:00
nsupdate Handle address lookup failure more gracefully 2023-02-01 00:36:42 +11:00
plugins Implement incremental hash table resizing in isc_ht 2023-01-11 17:15:33 +01:00
rndc Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
tests Add islands of trust to mkeys test 2023-02-14 10:44:39 +11:00
tools named-rrchecker: have fatal cleanup 2023-02-07 11:15:21 +11:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00