Date: Fri, 26 Sep 2025 09:55:55 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: a41b0e52ab90 - stable/15 - tcp: fix sending of RST segments Message-ID: <202509260955.58Q9ttpk080333@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/15 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=a41b0e52ab90920ba3c136d95661d624aeb67147 commit a41b0e52ab90920ba3c136d95661d624aeb67147 Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2025-09-23 17:29:48 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2025-09-26 09:55:41 +0000 tcp: fix sending of RST segments Take endpoint parameters into account when available. Fixes: 463b5aed0d62 ("tcp: retire rstreason") Sponsored by: Netflix, Inc. (cherry picked from commit ab17974c12033c6ff3bae27458efcd13584438ba) --- sys/netinet/tcp_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index d5dc516c28aa..dd27ec77c1af 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -3412,7 +3412,7 @@ dropafterack: return; dropwithreset: - tcp_dropwithreset(m, th, NULL, tlen); + tcp_dropwithreset(m, th, tp, tlen); if (tp != NULL) { INP_WUNLOCK(inp); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509260955.58Q9ttpk080333>