diff options
author | Nayana Bidari <nybidari@google.com> | 2021-02-10 16:33:31 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-10 16:38:55 -0800 |
commit | ff04d019e3d20adf0f5ef3146fa28d3b83a4819a (patch) | |
tree | 793cececa28baf6a6a9be30711ff6b2ff0a0d302 /pkg/sentry/fsimpl/kernfs | |
parent | 97a36d1696982949722c6d6da1e5031d79e90b48 (diff) |
RACK: Fix re-transmitting the segment twice when entering recovery.
TestRACKWithDuplicateACK is flaky as the reorder window can expire before
receiving three duplicate ACKs which will result in sending the first
unacknowledged segment twice: when reorder timer expired and again after
receiving the third duplicate ACK.
This CL will fix this behavior and will not resend the segment again if it was
already re-transmittted when reorder timer expired.
Update the TestRACKWithDuplicateACK to test that the first segment is
considered as lost and is re-transmitted.
PiperOrigin-RevId: 356855168
Diffstat (limited to 'pkg/sentry/fsimpl/kernfs')
0 files changed, 0 insertions, 0 deletions