From: Colin Vidal Date: Fri, 31 Oct 2025 14:50:56 +0000 (+0100) Subject: fix: dev: restore reuseport to yes by default on supported platforms X-Git-Tag: v9.21.15~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=056a32798c2cb18f3e9eb2e91d7fbe69524c86f4;p=thirdparty%2Fbind9.git fix: dev: restore reuseport to yes by default on supported platforms Changes introduced by 72862c2a moved the default configuration from within `bin/named` to a central place `bin/includes`. The default configuration is conditioned by several compile-time macro. While for most of them it's fine because they are defined in the global `config.h` file included by default to all binaries (by meson), one specific is not defined here. `HAVE_SO_REUSEPORT_LB` was defined in `lib/isc/include/isc/netmgr.h` which is of course not included in `bin/includes/defaultconfig.h`. As a result, reuseport was disabled for all platform by default, even the supported ones. This fixes the problem by checking if reuseport is available on the platform from meson `config.h` generation directly, which makes `HAVE_SO_REUSEPORT_LB` available everywhere. Merge branch 'colin/fix-reuseport-default' into 'main' See merge request isc-projects/bind9!11180 --- 056a32798c2cb18f3e9eb2e91d7fbe69524c86f4