Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2025 19:50:07 GMT
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ce929c4769c9 - main - ddb: print FIN flag only one when printing BBLog entries
Message-ID:  <202506291950.55TJo7YF071993@gitrepo.freebsd.org>

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

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

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

    ddb: print FIN flag only one when printing BBLog entries
    
    Fixes:          a62c6b0de48a ("ddb: add optional printing of BBLog entries")
    MFC after:      1 week
    Sponsored by:   Netflix, Inc.
---
 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 3c62d3b07f99..75d693bc019b 100644
--- a/sys/netinet/tcp_log_buf.c
+++ b/sys/netinet/tcp_log_buf.c
@@ -3027,15 +3027,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?202506291950.55TJo7YF071993>