]> git.ipfire.org Git - thirdparty/bind9.git/commit
[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)
commitfa7443d3fd2ae02277b946c8da32b7742cd5aa7d
tree332fb2302f450e4c33fd60b6c7d82cdb032ba945
parenteb3c66304f35f612ef84964b9ddb0df917493195
parent9fbfc8a8b51dbc3ee433075dbdb8eb7df6ddd9bd
[9.20] fix: dev: Use CMM_{STORE,LOAD}_SHARED to store/load glue in gluelist

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