]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: dev: Use CMM_{STORE,LOAD}_SHARED to store/load glue in gluelist
authorOndřej Surý <ondrej@isc.org>
Mon, 6 Jan 2025 19:13:37 +0000 (19:13 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 6 Jan 2025 19:13:37 +0000 (19:13 +0000)
ThreadSanitizer has trouble understanding that gluelist->glue is
constant after it is assigned to the slabheader with cmpxchg.  Help
ThreadSanitizer to understand the code by using CMM_STORE_SHARED and
CMM_LOAD_SHARED on gluelist->glue.

Backport of MR !9929

Merge branch 'backport-ondrej/hint-tsan-in-addglue-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9936


Trivial merge