]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: nil: Suppress FreeBSD-specific TSAN false-positive lock-order-inversion
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 2 Apr 2025 13:59:11 +0000 (13:59 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 2 Apr 2025 13:59:11 +0000 (13:59 +0000)
commit4a645bf9d1cb0fffb31d7929d163e622ba9c752a
treebf819f7cb666e7559c2e8c51343085bd135d6701
parentd6cc4f9ac9cca30aeba6b9ec475ae357888a5112
parentf47945e8c9e94e20c69e68420fdae00a3fec038f
[9.20] 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

Backport of MR !10355

Merge branch 'backport-5266-freebsd-suppress-tsan-lock-order-inversion-false-positive-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10362