]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use atomic operations to access the trust byte in ncache data
authorOndřej Surý <ondrej@isc.org>
Thu, 11 Apr 2024 01:16:12 +0000 (03:16 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 17 Apr 2024 15:14:34 +0000 (17:14 +0200)
commiteb1829b9708d6dd42f2a96f08cf69b18a3bee31c
treee92285ddbcf8589b6fa40f0dcff6ead4e815e2c0
parent4ef755ffb0555705e59452a9fb6c9ccecd039d12
Use atomic operations to access the trust byte in ncache data

Protect the access to the trust byte in the ncache data with relaxed
atomic operation to mimick the current behaviour.  This will teach
TSAN that the concurrent access is fine.
lib/dns/ncache.c