]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't stop timer from dns__nta_shutdown()
authorOndřej Surý <ondrej@isc.org>
Fri, 30 Sep 2022 08:52:14 +0000 (10:52 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 30 Sep 2022 13:24:20 +0000 (15:24 +0200)
commit01f0f9dcdc4dc12739ce9787142b04c6880d8673
treeb1c9b2ce0214e05fbc52d455ed392e9ee47366ea
parent9beb68513b5e6e00c78bca17dc5ca9830095eb28
Don't stop timer from dns__nta_shutdown()

The dns__nta_shutdown() could be run from different threads and it was
accessing nta->timer unlocked.  Don't check and stop the timer from
dns__nta_shutdown() directly, but leave it for the async callback.
lib/dns/nta.c