diff options
author | Mithun Iyer <iyerm@google.com> | 2021-03-08 13:15:51 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-08 13:18:01 -0800 |
commit | 5a75a932029fb5de712b2ae4ec62be6bfe6ce6f8 (patch) | |
tree | fdde29abb8b5220fdb18100acd896dfd80d4ae30 /pkg/sentry/fsimpl/ext/dentry.go | |
parent | cabbbb373a62971684bf012a0c2164106395e051 (diff) |
Avoid a race with test peer advert and DUT send
Fix a race where the DUT could send out test data before it received the
peer window advertisement. Such a race results in the DUT taking longer
time to retransmit zero window probe, thus causing the test to fail
receiving the last expected probe.
To ensure this ordering, piggyback a non-zero payload with the zero
window advertisement and let the DUT receive that, before continuing
with the test.
PiperOrigin-RevId: 361640241
Diffstat (limited to 'pkg/sentry/fsimpl/ext/dentry.go')
0 files changed, 0 insertions, 0 deletions