Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2026 08:06:09 +0000
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c8fa77d8e9fa - stable/15 - tcp: improve NOINET builds
Message-ID:  <69edc771.27474.76136843@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=c8fa77d8e9fa2f4bc73debb90af68a391e5c5290

commit c8fa77d8e9fa2f4bc73debb90af68a391e5c5290
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2026-03-04 14:18:58 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2026-04-26 08:04:29 +0000

    tcp: improve NOINET builds
    
    Reported by:    bz
    Sponsored by:   Netflix, Inc.
    Event:          Wiesbaden Hackathon 2026
    
    (cherry picked from commit 3d69387ece535fc33821d089aab241bfb9551d69)
---
 sys/netinet/tcp_subr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 5e2b1eb1a86d..7152e8ad600c 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -342,8 +342,11 @@ static struct inpcb *tcp_drop_syn_sent(struct inpcb *, int);
 static char *	tcp_log_addr(struct in_conninfo *inc, struct tcphdr *th,
 		    const void *ip4hdr, const void *ip6hdr);
 static void	tcp_default_switch_failed(struct tcpcb *tp);
+
+#ifdef INET
 static ipproto_ctlinput_t	tcp_ctlinput;
 static udp_tun_icmp_t		tcp_ctlinput_viaudp;
+#endif
 
 static struct tcp_function_block tcp_def_funcblk = {
 	.tfb_tcp_block_name = "freebsd",


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69edc771.27474.76136843>