]> git.ipfire.org Git - thirdparty/bind9.git/commit
catz: use two pairs of dns_db_t and dns_dbversion_t in a catalog zone
authorAram Sargsyan <aram@isc.org>
Thu, 2 Mar 2023 08:52:25 +0000 (08:52 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 2 Mar 2023 17:39:43 +0000 (17:39 +0000)
commitd2ecff3c4a0d961041b860515858d258d40462d7
tree3735ea3c0eb52a3bba2115735b865a12e9a47da9
parente1627e128959a077183d955beba19cce0fa991ff
catz: use two pairs of dns_db_t and dns_dbversion_t in a catalog zone

As it is done in the RPZ module, use 'db' and 'dbversion' for the
database we are going to update to, and 'updb' and 'updbversion' for
the database we are working on.

Doing this should avoid a race between the 'dns__catz_update_cb()' and
'dns_catz_dbupdate_callback()' functions.
lib/dns/catz.c