tcp/rack: don't call call tcp_state_change() before tcp_close()

Reviewed by:		tuexen, rrs
Differential Revision:	https://reviews.freebsd.org/D55969
This commit is contained in:
Gleb Smirnoff
2026-03-20 09:55:04 -07:00
parent 0798ad8023
commit 03b7b779a8
-1
View File
@@ -730,7 +730,6 @@ ctf_process_rst(struct mbuf *m, struct tcphdr *th, struct socket *so,
case TCPS_LAST_ACK:
so->so_error = ECONNRESET;
close:
tcp_state_change(tp, TCPS_CLOSED);
/* FALLTHROUGH */
default:
tcp_log_end_status(tp, TCP_EI_STATUS_CLIENT_RST);