tcp: fix reverting of spurious timeouts (RTO)

One variable that became critical to correctly calculate
the cwnd during limited transmit was not properly reverted
on detection of spurious timeouts.

PR:			282605
Reviewed By:		cc, tuexen, #transport
MFC after:		3 days
Sponsored by:		NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D48652
This commit is contained in:
Richard Scheffenegger 2025-03-21 05:23:30 +01:00
parent 5d02f17e82
commit 6f6c07813b

View file

@ -465,6 +465,7 @@ cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type)
ENTER_CONGRECOVERY(tp->t_flags);
tp->snd_nxt = tp->snd_max;
tp->t_flags &= ~TF_PREVVALID;
tp->t_rxtshift = 0;
tp->t_badrxtwin = 0;
break;
}