mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
5d02f17e82
commit
6f6c07813b
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue