]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: nil: Suppress FreeBSD-specific TSAN false-positive lock-order-inversion
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 2 Apr 2025 12:33:00 +0000 (12:33 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 2 Apr 2025 12:33:00 +0000 (12:33 +0000)
commit3571c702030dc2e0ff37e73cf06c452f11663e1f
tree06606be99d4a0fc511c61659d8fbd910edfe65c1
parent6c943c92d9fc221a965faca74fded6e92baae5f0
parent33dff63cbb731dbc0fdb8a6df021b8bf638f8f1d
chg: nil: Suppress FreeBSD-specific TSAN false-positive lock-order-inversion

TSAN reports a lock-order-inversion (potential deadlock) issue in
`add_trace_entry()`.

While it is true that in one case a lock in the `isc_mem_t` structure is
locked first, and then a lock in the `FILE` structure is locked second,
and in the the second case it is the other way around, this isn't an
issue, because those are `FILE` structures for totally different files,
used in different parts of the code.

Closes #5266

Merge branch '5266-freebsd-suppress-tsan-lock-order-inversion-false-positive' into 'main'

See merge request isc-projects/bind9!10355