diff options
author | Yuchung Cheng <ycheng@google.com> | 2018-05-17 01:40:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-17 21:41:29 +0200 |
commit | d716bfdb10b4250617783c94253e48b0e85adcb1 (patch) | |
tree | e2622423fe783b7a7dfb81ea3a28b45dbb15ff3e /.clang-format | |
parent | tcp: simpler NewReno implementation (diff) | |
download | linux-d716bfdb10b4250617783c94253e48b0e85adcb1.tar.xz linux-d716bfdb10b4250617783c94253e48b0e85adcb1.zip |
tcp: account lost retransmit after timeout
The previous approach for the lost and retransmit bits was to
wipe the slate clean: zero all the lost and retransmit bits,
correspondingly zero the lost_out and retrans_out counters, and
then add back the lost bits (and correspondingly increment lost_out).
The new approach is to treat this very much like marking packets
lost in fast recovery. We don’t wipe the slate clean. We just say
that for all packets that were not yet marked sacked or lost, we now
mark them as lost in exactly the same way we do for fast recovery.
This fixes the lost retransmit accounting at RTO time and greatly
simplifies the RTO code by sharing much of the logic with Fast
Recovery.
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: Priyaranjan Jha <priyarjha@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions