From: Remi Gacogne Date: Wed, 3 May 2023 15:55:34 +0000 (+0200) Subject: dnsdist: Add a TSAN suppression for the backend re-connection code X-Git-Tag: dnsdist-1.8.1~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa55e4eb55848383585edea87d8103b0f775dd8;p=thirdparty%2Fpdns.git dnsdist: Add a TSAN suppression for the backend re-connection code (cherry picked from commit 0d199b6529f5c410d6014bf3058c717b57625553) --- diff --git a/pdns/dnsdistdist/dnsdist-tsan.supp b/pdns/dnsdistdist/dnsdist-tsan.supp index f9c1d984d6..53a664793d 100644 --- a/pdns/dnsdistdist/dnsdist-tsan.supp +++ b/pdns/dnsdistdist/dnsdist-tsan.supp @@ -16,3 +16,8 @@ race:DownstreamState::setAuto race:DownstreamState::stop race:DownstreamState::submitHealthCheckResult race:carbonDumpThread +# There is a slight race when we detect an error and +# re-connect a backend, where the UDP responder thread +# can still be looking at the existing socket descriptors. +# Actually writing to these is protected by a mutex, though. +race:DownstreamState::reconnect