]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use C-RW-WP lock in the dns_adb unit
authorOndřej Surý <ondrej@isc.org>
Mon, 13 Feb 2023 14:52:51 +0000 (15:52 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 15 Feb 2023 08:30:04 +0000 (09:30 +0100)
commitc194ff5d77810a9f8a85fa1bbb0acc2507c83171
treea306ef568773314f5c7a01b57164080010b531ef
parent3d3d3b8c58d806c81c2d1f19d936802b17531630
Use C-RW-WP lock in the dns_adb unit

Replace the isc_mutex in the dns_adb unit with isc_rwlock for better
performance.  Both ADB names and ADB entries hashtables and LRU are now
using isc_rwlock.
lib/dns/adb.c