Covers values if (BYTES_THIS_ACK(tp, th) / tp->t_maxseg) value is from
2.0 to 3.0. Reviewed by: lstewart
This commit is contained in:
parent
8dd663c1cb
commit
55ffee0ed1
@ -577,7 +577,7 @@ tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th)
|
||||
tcp_timer_activate(tp, TT_REXMT, 0);
|
||||
tp->t_rtttime = 0;
|
||||
/* Send one or 2 segments based on how much new data was acked. */
|
||||
if ((BYTES_THIS_ACK(tp, th) / tp->t_maxseg) > 2)
|
||||
if ((BYTES_THIS_ACK(tp, th) / tp->t_maxseg) >= 2)
|
||||
num_segs = 2;
|
||||
tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit +
|
||||
(tp->snd_nxt - tp->sack_newdata) + num_segs * tp->t_maxseg);
|
||||
|
Loading…
Reference in New Issue
Block a user