]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Fix the memory ordering in the adaptive read-write lock
authorOndřej Surý <ondrej@isc.org>
Mon, 8 Jun 2026 15:55:37 +0000 (17:55 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 8 Jun 2026 15:55:37 +0000 (17:55 +0200)
On hardware with a weak memory model, the internal read-write lock could
briefly admit a reader and a writer at the same time, risking sporadic
crashes or incorrect data. The reader/writer handshake now uses
sequentially consistent ordering so the two can no longer overlap.

Closes #6060

Merge branch '6060-rwlock-seq-cst-handshake' into 'main'

See merge request isc-projects/bind9!12162


Trivial merge