]> git.ipfire.org Git - thirdparty/pdns.git/commit
Use atomic type for potential read/write race condition
authorOliver Chen <oliver.chen@nokia-sbell.com>
Wed, 30 Apr 2025 03:40:22 +0000 (03:40 +0000)
committerOliver Chen <oliver.chen@nokia-sbell.com>
Wed, 30 Apr 2025 03:44:20 +0000 (03:44 +0000)
commit2c45d8b9333ca78272b61e8651fbaf2fb72bfe1a
treebf6cde8d524d111d240f15e50ba13a3391603fe2
parentcb31e74a5934320c3ad2d210f6c61fcc92f54fc4
Use atomic type for potential read/write race condition

Only a few numerical healthcheck parameters are selected,
and changed to use atomic type for those parameters so as to
avoid potential read/write race conditions.
pdns/dnsdistdist/dnsdist-backend.cc
pdns/dnsdistdist/dnsdist-lua-bindings.cc
pdns/dnsdistdist/dnsdist.hh
pdns/dnsdistdist/docs/reference/config.rst
regression-tests.dnsdist/test_HealthChecks.py