tcp: remove incorrect reset of SACK variable in PRR

Reviewed By:   #transport, rrs, tuexen
PR:            253848
MFC after:     3 days
Sponsored By:  NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D29083
This commit is contained in:
Richard Scheffenegger 2021-03-05 17:45:23 +01:00
parent 705d06b289
commit 4a8f3aad37

View file

@ -2693,7 +2693,6 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
*/
tp->sackhint.prr_delivered =
tp->sackhint.sacked_bytes;
tp->sackhint.sack_bytes_rexmit = 0;
tp->sackhint.recover_fs = max(1,
tp->snd_nxt - tp->snd_una);
}