PRR: Avoid accounting left-edge twice in partial ACK.
Reviewed By: #transport, kbowling MFC after: 3 days Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D28819
This commit is contained in:
parent
48396dc779
commit
31d7a27c6e
@ -3950,9 +3950,7 @@ tcp_prr_partialack(struct tcpcb *tp, struct tcphdr *th)
|
||||
* (del_data) and an estimate of how many bytes are in the
|
||||
* network.
|
||||
*/
|
||||
if (SEQ_GEQ(th->th_ack, tp->snd_una))
|
||||
del_data = BYTES_THIS_ACK(tp, th);
|
||||
del_data += tp->sackhint.delivered_data;
|
||||
del_data = tp->sackhint.delivered_data;
|
||||
if (V_tcp_do_rfc6675_pipe)
|
||||
pipe = tcp_compute_pipe(tp);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user