]> git.ipfire.org Git - thirdparty/bind9.git/commit
Restore locking in resume_dslookup()
authorMichał Kępień <michal@isc.org>
Tue, 23 Jul 2019 09:43:46 +0000 (11:43 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 23 Jul 2019 09:43:46 +0000 (11:43 +0200)
commitca528766d6685a3cd42a708fa6d996380f00664f
treeaaa2f0010191e0faedaaf4a1030971a41f34b707
parentdd358e6a21dcb48cfb61dd6c535bb1b8816f28d4
Restore locking in resume_dslookup()

Commit 9da902a201b6d0e1bdbac0af067a59bb0a489c9c removed locking around
the fctx_decreference() call inside resume_dslookup().  This allows
fctx_unlink() to be called without the bucket lock being held, which
must never happen.  Ensure the bucket lock is held by resume_dslookup()
before it calls fctx_decreference().
lib/dns/resolver.c