git: 0053a4b9cca7 - main - tcp: fix TF_BITS

Michael Tuexen <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a7a23ce.19b29.17100a64__36246.1661848769$1786389474$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by tuexen:

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

commit 0053a4b9cca784886999c6a33d9013752a60991f
Author:     Michael Tuexen <[email protected]>
AuthorDate: 2026-08-10 19:13:02 +0000
Commit:     Michael Tuexen <[email protected]>
CommitDate: 2026-08-10 19:16:37 +0000

    tcp: fix TF_BITS
    
    Add missing TF_DISCONNECTED bit.
    
    Reported by:    Hannes Elfert
    Fixes:          40dbb06fa73c ("inpcb: retire INP_DROPPED and in_pcbdrop()")
---
 sys/netinet/tcp_var.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 4f1e8fa9fd49..d65b47888f08 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -803,7 +803,7 @@ tcp_packets_this_ack(struct tcpcb *tp, tcp_seq ack)
     "\15TF_NOPUSH\16TF_PREVVALID\17TF_WAKESOR\20TF_GPUTINPROG" \
     "\21TF_MORETOCOME\22TF_SONOTCONN\23TF_LASTIDLE\24TF_RXWIN0SENT" \
     "\25TF_FASTRECOVERY\26TF_WASFRECOVERY\27TF_SIGNATURE\30TF_FORCEDATA" \
-    "\31TF_TSO\32TF_TOE\33TF_CLOSED\34TF_UNUSED" \
+    "\31TF_TSO\32TF_TOE\33TF_CLOSED\34TF_DISCONNECTED" \
     "\35TF_LRD\36TF_CONGRECOVERY\37TF_WASCRECOVERY\40TF_FASTOPEN"
 
 #define	IN_FASTRECOVERY(t_flags)	(t_flags & TF_FASTRECOVERY)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.