Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2025 06:46:19 GMT
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: 1c7813811d2b - stable/14 - ddb: print FIN flag only one when printing BBLog entries
Message-ID:  <202509050646.5856kJ0Z045603@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by tuexen:

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

commit 1c7813811d2bf6d15403b755ac7c717194ce1509
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2025-06-29 19:47:42 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-09-05 06:44:19 +0000

    ddb: print FIN flag only one when printing BBLog entries
    
    Fixes:          a62c6b0de48a ("ddb: add optional printing of BBLog entries")
    Sponsored by:   Netflix, Inc.
    
    (cherry picked from commit ce929c4769c9fa73eff2f723dd266203b7816657)
---
 sys/netinet/tcp_log_buf.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c
index 5219f0be3f7e..fa6394065da6 100644
--- a/sys/netinet/tcp_log_buf.c
+++ b/sys/netinet/tcp_log_buf.c
@@ -3030,15 +3030,9 @@ db_print_tcphdr(struct tcp_log_buffer *tlm_buf)
 	if (flags & TH_ECE) {
 		db_printf("E");
 	}
-	if (flags & TH_FIN) {
-		db_printf("F");
-	}
 	if (flags & TH_CWR) {
 		db_printf("W");
 	}
-	if (flags & TH_FIN) {
-		db_printf("F");
-	}
 	if (flags & TH_AE) {
 		db_printf("A");
 	}



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