summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2019-06-21 18:30:01 -0700
committergVisor bot <gvisor-bot@google.com>2019-06-21 18:31:31 -0700
commitc1761378a93f8d596d7956c9b7ba2a9d3d0619bc (patch)
treec69a6f7f4b06b6c9f570c6b4cbe3fc83d3d98803 /test/syscalls
parentab6774cebf5c618d0cae579e84bd39666857f78b (diff)
Fix the logic for sending zero window updates.
Today we have the logic split in two places between endpoint Read() and the worker goroutine which actually sends a zero window. This change makes it so that when a zero window ACK is sent we set a flag in the endpoint which can be read by the endpoint to decide if it should notify the worker to send a nonZeroWindow update. The worker now does not do the check again but instead sends an ACK and flips the flag right away. Similarly today when SO_RECVBUF is set the SetSockOpt call has logic to decide if a zero window update is required. Rather than do that we move the logic to the worker goroutine and it can check the zeroWindow flag and send an update if required. PiperOrigin-RevId: 254505447
Diffstat (limited to 'test/syscalls')
-rw-r--r--test/syscalls/BUILD2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD
index 95dc9157b..731e2aa85 100644
--- a/test/syscalls/BUILD
+++ b/test/syscalls/BUILD
@@ -609,8 +609,6 @@ syscall_test(test = "//test/syscalls/linux:sysret_test")
syscall_test(
size = "medium",
shard_count = 10,
- # FIXME(b/135470853)
- tags = ["flaky"],
test = "//test/syscalls/linux:tcp_socket_test",
)