]> git.ipfire.org Git - thirdparty/bind9.git/commit
Unlock catzs during dns__catz_update_cb()
authorOndřej Surý <ondrej@isc.org>
Fri, 24 Feb 2023 09:46:00 +0000 (09:46 +0000)
committerOndřej Surý <ondrej@isc.org>
Fri, 24 Feb 2023 16:04:33 +0000 (17:04 +0100)
commitb1cd4a066a63f221a56d9565da4907c2aad7e524
treee47670980cfd9d0bf4f4d3e9e70bc38ba483c5e0
parent0b96c9234fb157e0a06c9906263fa7c631e20a4d
Unlock catzs during dns__catz_update_cb()

Instead of holding the catzs->lock the whole time we process the catz
update, only hold it for hash table lookup and then release it.  This
should unblock any other threads that might be processing updates to
catzs triggered by extra incoming transfer.
lib/dns/catz.c
lib/dns/include/dns/catz.h