]> git.ipfire.org Git - thirdparty/bind9.git/commit
Assign fctx->client when fctx is created rather when the join happens.
authorMark Andrews <marka@isc.org>
Thu, 28 Nov 2019 22:59:03 +0000 (09:59 +1100)
committerMark Andrews <marka@isc.org>
Mon, 2 Dec 2019 06:01:46 +0000 (06:01 +0000)
commit9ca6ad6311f3305cfefab32187c22afe48be30be
treee946ded92ee3f1efc38d9bb5892e6371914a62b4
parentcf8e034b75f5244b3ddbc9b5b847afdac2496c8d
Assign fctx->client when fctx is created rather when the join happens.

This prevents races on fctx->client whenever a new fetch joins a existing
fetch (by calling fctx_join) as it is now invariant for the active life of
fctx.
lib/dns/resolver.c