From: Colin Vidal Date: Thu, 20 Nov 2025 17:52:29 +0000 (+0100) Subject: fix: dev: Attach socket before async streamdns_resume_processing X-Git-Tag: v9.21.16~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fec55d786afba8bf90b1c1a6892230faaad8886f;p=thirdparty%2Fbind9.git fix: dev: Attach socket before async streamdns_resume_processing Call to `streamdns_resume_processing` is asynchronous but the socket passed as argument is not attached when scheduling the call. While there is no reproducible way (so far) to make the socket reference number down to 0 before `streamdns_resume_processing` is called, attach the socket before scheduling the call. This guard against an hypothetic case where, for some reasons, the socket refcount would reach 0, and be freed from memory when `streamdns_resume_processing` is called. Closes #5620 Merge branch '5620-attach-socket-streamdns_resume_processing' into 'main' See merge request isc-projects/bind9!11247 --- fec55d786afba8bf90b1c1a6892230faaad8886f