mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Fix statistical accounting for bytes and packets during sack retransmits.
MFC after: 1 week Submitted by: mohans
This commit is contained in:
parent
5d0dd109f4
commit
0ba5d2eedb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169682
@ -749,7 +749,7 @@ tcp_output(struct tcpcb *tp)
|
||||
|
||||
if ((tp->t_flags & TF_FORCEDATA) && len == 1)
|
||||
tcpstat.tcps_sndprobe++;
|
||||
else if (SEQ_LT(tp->snd_nxt, tp->snd_max)) {
|
||||
else if (SEQ_LT(tp->snd_nxt, tp->snd_max) || sack_rxmit) {
|
||||
tcpstat.tcps_sndrexmitpack++;
|
||||
tcpstat.tcps_sndrexmitbyte += len;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user