git: 3f87b632ed04 - stable/14 - tcp: fix sending of RST segments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Sep 2025 09:36:38 UTC
The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=3f87b632ed047d70f93ca21d481a709529763f2f commit 3f87b632ed047d70f93ca21d481a709529763f2f 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:32:19 +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 d1d0cc7d70e8..4a6f8d80f231 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -3432,7 +3432,7 @@ dropafterack: return; dropwithreset: - tcp_dropwithreset(m, th, NULL, tlen); + tcp_dropwithreset(m, th, tp, tlen); if (tp != NULL) { INP_WUNLOCK(inp); }