Fix statistical accounting for bytes and packets during sack retransmits.
MFC after: 1 week Submitted by: mohans
This commit is contained in:
parent
3b7f8bde24
commit
b753e575a7
@ -749,7 +749,7 @@ send:
|
||||
|
||||
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…
x
Reference in New Issue
Block a user