The branch main has been updated by tuexen:

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

commit ab17974c12033c6ff3bae27458efcd13584438ba
Author:     Michael Tuexen <tue...@freebsd.org>
AuthorDate: 2025-09-23 17:29:48 +0000
Commit:     Michael Tuexen <tue...@freebsd.org>
CommitDate: 2025-09-23 17:32:21 +0000

    tcp: fix sending of RST segments
    
    Take endpoint parameters into account when available.
    
    Fixes:          463b5aed0d62 ("tcp: retire rstreason")
    MFC after:      3 days
    Sponsored by:   Netflix, Inc.
---
 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);
        }

Reply via email to