Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2023 15:16:38 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: afd155c72bf6 - main - netinet: The tailq_hash code doesn't reference tcpoutflags
Message-ID:  <202310271516.39RFGcHM058397@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit afd155c72bf65c056d19473569cc78c6e5807b3b
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-10-27 14:39:31 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-10-27 14:41:25 +0000

    netinet: The tailq_hash code doesn't reference tcpoutflags
    
    Don't define TCPOUTFLAGS to get the static definition from tcp_fsm.h.
    tailq_hash.c doesn't refernce tcpoutflag. Only files that reference this
    should define TCPOUTFLAGS. clang is fine with it, but gcc12 complained.
    
    Sponsored by:           Netflix
---
 sys/netinet/tcp_stacks/tailq_hash.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/netinet/tcp_stacks/tailq_hash.c b/sys/netinet/tcp_stacks/tailq_hash.c
index 0792905e0128..5977bf874950 100644
--- a/sys/netinet/tcp_stacks/tailq_hash.c
+++ b/sys/netinet/tcp_stacks/tailq_hash.c
@@ -58,7 +58,6 @@
 #include <netinet6/in6_pcb.h>
 #include <netinet6/ip6_var.h>
 #include <netinet/tcp.h>
-#define	TCPOUTFLAGS
 #include <netinet/tcp_fsm.h>
 #include <netinet/tcp_seq.h>
 #include <netinet/tcp_timer.h>



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