]> git.ipfire.org Git - thirdparty/bind9.git/commit
catz: protect db_registered and db callback (un)registration with a lock
authorAram Sargsyan <aram@isc.org>
Thu, 2 Mar 2023 10:18:11 +0000 (10:18 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 2 Mar 2023 17:40:10 +0000 (17:40 +0000)
commita87859f1fa05ce92e99acb2c12aae0245bc8e79e
treea749273d39332078da9b9aae7feabdf95682cae0
parentd2ecff3c4a0d961041b860515858d258d40462d7
catz: protect db_registered and db callback (un)registration with a lock

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