This is an automated email from the ASF dual-hosted git repository.

casaroli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d60832ba25 boards/lm3s6965-ek: enable NET_SOCKOPTS in qemu-protected
9d60832ba25 is described below

commit 9d60832ba25e8703e8fd162cceddccc54165cd79
Author: Swatantra Yadav <[email protected]>
AuthorDate: Sun Nov 1 23:02:51 2026 +0530

    boards/lm3s6965-ek: enable NET_SOCKOPTS in qemu-protected
    
    In lm3s6965-ek:qemu-protected, commit d9d9d3fbed dropped the DNS client
    (CONFIG_NETDB_DNSCLIENT) to recover kernel flash headroom.  However,
    the DNS client was previously the sole selector of CONFIG_NET_SOCKOPTS
    for this target.
    
    Because CONFIG_NETUTILS_DHCPC selects CONFIG_NET_BINDTODEVICE, the
    absence of CONFIG_NET_SOCKOPTS caused s_boundto to be omitted from
    struct socket_conn_s (include/nuttx/net/net.h), breaking compilation in
    net/icmp/icmp_sendmsg.c, tcp_finddev.c, and udp_finddev.c during the
    CI arm-ti build.
    
    Re-enable CONFIG_NET_SOCKOPTS=y explicitly in qemu-protected defconfig.
    This provides the required s_boundto definition, resolves the arm-ti CI
    failure, and avoids defconfig normalization side-effects across other
    architectures.
    
    Signed-off-by: Swatantra Yadav <[email protected]>
    Assisted-by: Google Gemini
---
 boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig 
b/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
index d8134b21c40..2add6ceec80 100644
--- a/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
+++ b/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
@@ -45,6 +45,7 @@ CONFIG_NETINIT_NOMAC=y
 CONFIG_NET_BROADCAST=y
 CONFIG_NET_ICMP_SOCKET=y
 CONFIG_NET_MAX_LISTENPORTS=8
+CONFIG_NET_SOCKOPTS=y
 CONFIG_NET_TCP=y
 CONFIG_NET_UDP=y
 CONFIG_NET_UDP_CHECKSUMS=y

Reply via email to