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
..
2022-06-16 18:09:33 +02:00
2023-01-09 14:23:26 -08:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2023-02-08 00:13:12 -08:00
2022-01-11 09:05:02 +01:00
2022-12-07 23:59:36 +00:00
2022-06-16 18:09:33 +02:00
2022-06-16 18:09:33 +02:00
2023-01-09 14:23:26 -08:00
2022-06-16 18:09:33 +02:00
2022-06-16 18:09:33 +02:00
2022-04-26 14:21:57 +02:00
2022-06-16 18:09:33 +02:00
2022-04-13 14:43:40 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2023-02-09 10:07:39 -08:00
2022-01-27 16:18:34 -08:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2023-01-09 14:23:26 -08:00
2022-06-16 18:09:33 +02:00
2023-01-09 14:23:26 -08:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-06-28 14:36:38 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-07-07 07:47:45 +10:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-06-16 18:09:33 +02:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-09-26 16:30:36 +02:00
2022-11-21 13:43:01 +00:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-08-22 19:21:39 +02:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2023-01-09 14:23:26 -08:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2023-02-09 08:58:15 +11:00
2022-12-07 23:59:36 +00:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2023-01-09 14:23:26 -08:00
2023-01-09 14:23:26 -08:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2023-02-14 09:58:16 +00:00
2022-06-16 18:09:33 +02:00
2022-09-08 09:36:50 +02:00
2022-06-16 18:09:33 +02:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-04-26 14:21:57 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-01-11 09:05:02 +01:00
2022-04-14 20:53:31 +00:00
2022-01-11 09:05:02 +01:00
2022-06-16 18:09:33 +02:00
2022-07-07 07:47:45 +10:00
2023-01-09 14:23:26 -08:00
2023-01-09 14:23:26 -08:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2023-01-16 11:07:19 +00:00