From c1aa625bdbd1124c3f8713a7fb2fdc67224b75db Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Thu, 26 Jun 2025 17:24:51 +0800 Subject: [PATCH] net: enable tcp backlog by default If the NET_TCPBACKLOG configuration is not enabled, no I/O event will be triggered for the socket file descriptor in poll/epoll. As a result, the connection will not be accepted, leading to a failure in the TCP handshake. The problem is that users may not have noticed this configuration, no event will be received when polling the socket fd. Signed-off-by: wangjianyu3 --- net/tcp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tcp/Kconfig b/net/tcp/Kconfig index 5574454fe0b..734379daa7b 100644 --- a/net/tcp/Kconfig +++ b/net/tcp/Kconfig @@ -299,7 +299,7 @@ endif # NET_TCP_WRITE_BUFFERS config NET_TCPBACKLOG bool "TCP/IP backlog support" - default n + default y ---help--- Incoming connections pend in a backlog until accept() is called. The size of the backlog is selected when listen() is called.