From: Alessio Podda Date: Tue, 16 Dec 2025 17:06:12 +0000 (+0000) Subject: fix: dev: Unpack struct vecheader X-Git-Tag: v9.21.17~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cbf5f652ae1cd0cda216f4c78cc4e3b4b73b51f;p=thirdparty%2Fbind9.git fix: dev: Unpack struct vecheader The bitset packing of the resign_lsb and heap_index in struct vecheader was causing a race condition, since both bindrdataset and heap operations tried to access the same byte (even though they are accessing different fields). While heap operations are protected by the node lock of the header being inserted, they aren't protected by the node locks of the headers being displaced, leading to the race condition. This MR fixes the issue by reverting the struct packing optimization. Closes #5688 Merge branch '5688-no-heap-index-bitset' into 'main' See merge request isc-projects/bind9!11378 --- 7cbf5f652ae1cd0cda216f4c78cc4e3b4b73b51f