Date: Sun, 26 Apr 2026 09:12:32 +0000 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: 328210f0efc2 - stable/14 - tcp: BBLog incoming packets in TCPS_TIME_WAIT Message-ID: <69edd700.36859.27bf50b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=328210f0efc203cc8db503e2cf60333d79227b4b commit 328210f0efc203cc8db503e2cf60333d79227b4b Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2026-02-25 13:01:50 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2026-04-26 07:07:20 +0000 tcp: BBLog incoming packets in TCPS_TIME_WAIT PR: 292293 Reviewed by: rrs, rscheff, pouria, Nick Banks, Peter Lei Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D5546 Event: Wiesbaden Hackathon 2026 (cherry picked from commit 8d2f910ceb0f1c366bcf2146a5ba1d1074d07933) --- sys/netinet/tcp_timewait.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 006f325d6d0e..fbabca5554ba 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -78,6 +78,7 @@ #include <netinet/tcp_seq.h> #include <netinet/tcp_timer.h> #include <netinet/tcp_var.h> +#include <netinet/tcp_log_buf.h> #include <netinet/tcpip.h> #include <netinet/udp.h> @@ -292,6 +293,8 @@ tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, */ if (thflags != TH_ACK || tlen != 0 || th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) { + TCP_LOG_EVENT(tp, th, NULL, NULL, TCP_LOG_IN, 0, tlen, NULL, + true); TCP_PROBE5(receive, NULL, NULL, m, NULL, th); tcp_respond(tp, mtod(m, void *), th, m, tp->rcv_nxt, tp->snd_nxt, TH_ACK);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69edd700.36859.27bf50b>
