]> git.ipfire.org Git - thirdparty/bind9.git/commit
Convert rwlock in isc_log_t to RCU
authorAydın Mercan <aydin@isc.org>
Tue, 19 Dec 2023 07:41:15 +0000 (10:41 +0300)
committerAydın Mercan <aydin@isc.org>
Fri, 9 Feb 2024 10:11:48 +0000 (13:11 +0300)
commita911949ebc56fd08a7ddcd3fe17fedff2e5c64a2
tree87ca6771905659b4d193ea1433ba0d83e5b0e801
parent0a7b0c3896445e0f102af2561bca08cae7992b77
Convert rwlock in isc_log_t to RCU

The isc_log_t contains a isc_logconfig_t that is swapped, dereferenced
or accessed its fields through a mutex. Instead of protecting it with a
rwlock, use RCU.
lib/isc/log.c