]> git.ipfire.org Git - thirdparty/bind9.git/commit
remove node lock for settrust and clearprefetch
authorEvan Hunt <each@isc.org>
Tue, 5 Aug 2025 04:26:01 +0000 (21:26 -0700)
committerEvan Hunt <each@isc.org>
Mon, 15 Sep 2025 16:11:50 +0000 (16:11 +0000)
commit18db48eb2cda6957224a12d8223d7e4d33405a8f
treeda2ce4203cdfa934177062f014f238cc0c26af12
parent4de396f955cbce45564b1f5ff9db4e8801738071
remove node lock for settrust and clearprefetch

dns_rdataset_clearprefetch() performs an atomic operation,
so it didn't actually need to lock the database node.

dns_rdataset_settrust() updates header->trust; this is also
now atomic, so it doesn't need to lock the node now either.
lib/dns/include/dns/rdataslab.h
lib/dns/qpcache.c
lib/dns/qpzone.c
lib/dns/rdataslab.c