git: 1c7813811d2b - stable/14 - ddb: print FIN flag only one when printing BBLog entries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Sep 2025 06:46:19 UTC
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");
}