From: Ondřej Surý Date: Wed, 27 Nov 2024 13:00:33 +0000 (+0000) Subject: fix: dev: Make dns_validator_cancel() respect the data ownership X-Git-Tag: v9.21.3~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c0e69ff0120c8024193b59545599cb39c171335;p=thirdparty%2Fbind9.git fix: dev: Make dns_validator_cancel() respect the data ownership There was a data race dns_validator_cancel() was called when the offloaded operations were in progress. Make dns_validator_cancel() respect the data ownership and only set new .canceling variable when the offloaded operations are in progress. The cancel operation would then finish when the offloaded work passes the ownership back to the respective thread. Closes #4926 Merge branch '4926-fix-data-race-in-dns_validator' into 'main' See merge request isc-projects/bind9!9470 --- 4c0e69ff0120c8024193b59545599cb39c171335