Merge branch '3968-catz-data-race-in-dns__catz_update_cb-9.18' into 'bind-9.18'

[9.18] Fix a data race in dns__catz_update_cb()

See merge request isc-projects/bind9!7727
This commit is contained in:
Arаm Sаrgsyаn 2023-03-27 12:35:31 +00:00
commit e8aae75aec
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
6128. [bug] Fix an omission in an earlier commit to avoid a race
between the 'dns__catz_update_cb()' and
'dns_catz_dbupdate_callback()' functions. [GL #3968]
6126. [cleanup] Deprecate zone type "delegation-only" and the
"delegation-only" and "root-delegation-only"
options. [GL #3953]

View file

@ -2254,7 +2254,7 @@ dns__catz_update_cb(void *data) {
uint32_t catz_vers;
REQUIRE(DNS_CATZ_ZONE_VALID(catz));
REQUIRE(DNS_DB_VALID(catz->db));
REQUIRE(DNS_DB_VALID(catz->updb));
REQUIRE(DNS_CATZ_ZONES_VALID(catz->catzs));
updb = catz->updb;