From: W.C.A. Wijngaards Date: Fri, 19 Jun 2026 06:37:23 +0000 (+0200) Subject: - Fix for #1457: fix thread setname for thread start of X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6aa5cfc903c40666eed5d2af04068fac0b12989b;p=thirdparty%2Funbound.git - Fix for #1457: fix thread setname for thread start of dnstap, and fast_reload. --- diff --git a/daemon/remote.c b/daemon/remote.c index df1220108..720f0daab 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -6909,7 +6909,7 @@ static void* fast_reload_thread_main(void* arg) #endif log_thread_set(&fast_reload_thread->threadnum); - ub_thread_setname(fast_reload_thread->tid, name); + ub_thread_setname(ub_thread_self(), name); (void)name; /* When setname is not defined, ignore the name variable. */ verbose(VERB_ALGO, "start fast reload thread"); diff --git a/dnstap/dtstream.c b/dnstap/dtstream.c index 09bdfd662..eee768ee2 100644 --- a/dnstap/dtstream.c +++ b/dnstap/dtstream.c @@ -2144,7 +2144,7 @@ static void* dnstap_io(void* arg) #endif log_thread_set(&dtio->threadnum); - ub_thread_setname(dtio->tid, name); + ub_thread_setname(ub_thread_self(), name); /* setup */ verbose(VERB_ALGO, "start dnstap io thread"); diff --git a/doc/Changelog b/doc/Changelog index b02d4003f..bf2d80812 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +19 June 2026: Wouter + - Fix for #1457: fix thread setname for thread start of + dnstap, and fast_reload. + 17 June 2026: Wouter - Fix that after fast_reload the disown of the auth zone transfer task cleans the chunk list. Also fix the