git: 89dd0612d933 - stable/14 - netinet: The tailq_hash code doesn't reference tcpoutflags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Apr 2024 18:41:28 UTC
The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=89dd0612d933783ae9f41e81e0c00f1bd03194fe commit 89dd0612d933783ae9f41e81e0c00f1bd03194fe Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-10-27 14:39:31 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2024-04-15 18:03:28 +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 (cherry picked from commit afd155c72bf65c056d19473569cc78c6e5807b3b) --- 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>