]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove 'statslock' from dnssec-signzone
authorMark Andrews <marka@isc.org>
Fri, 13 Sep 2024 03:30:34 +0000 (13:30 +1000)
committerMark Andrews <marka@isc.org>
Fri, 13 Sep 2024 03:30:34 +0000 (13:30 +1000)
commit473cbd4e87b375e6d6aefd984f280d766d603178
tree045dc446dca1e20381751dcc826ab60ebe83c88f
parent23b2ce56e5d907faf4d02b59e507a752d6e52f8b
Remove 'statslock' from dnssec-signzone

Silence Coverity CID 468757 and 468767 (DATA RACE read not locked)
by converting dnssec-signzone to use atomics for statistics counters
rather than using a lock.  This should be marginally faster than
using the lock as well when statistics are requested.
bin/dnssec/dnssec-signzone.c