Skip to contentSkip to conversation

package/unbound: enable tfo-client for uClibc-ng systems

PATCH Applied Waldemar Brodkorb 2 participants 2 messages Aug 13, 2024 – Aug 14, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/unbound: enable tfo-client for uClibc-ng systems

uClibc-ng systems have MSG_FASTOPEN since 2018 so no need to disable support for TCP fastopen client mode.

---
v1->v2:
- split patches this one goes to next, suggested by Thomas P.

---
 package/unbound/unbound.mk | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
package/unbound/unbound.mk +1 -8
index ff0262bef1..04386e8d5b 100644
@@ -18,18 +18,11 @@ UNBOUND_CONF_OPTS = \
 	--with-pidfile=/var/run/unbound.pid \
 	--with-rootkey-file=/etc/unbound/root.key \
 	--enable-tfo-server \
+	--enable-tfo-client \
 	--with-libevent=$(STAGING_DIR)/usr \
 	--with-libexpat=$(STAGING_DIR)/usr \
 	--with-ssl=$(STAGING_DIR)/usr
 
-# uClibc-ng does not have MSG_FASTOPEN
-# so TCP Fast Open client mode disabled for it
-ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
-UNBOUND_CONF_OPTS += --disable-tfo-client
-else
-UNBOUND_CONF_OPTS += --enable-tfo-client
-endif
-
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
 UNBOUND_CONF_OPTS += --with-pthreads
 else
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · On Tue, 13 Aug 2024 06:48:42 +0200 Waldemar Brodkorb <[email protected]> wrote:

uClibc-ng systems have MSG_FASTOPEN since 2018 so no need to disable support for TCP fastopen client mode.

---
v1->v2:
- split patches this one goes to next, suggested by Thomas P.

---
 package/unbound/unbound.mk | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

Applied to next, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot