summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/socket_netlink_route.cc
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2021-06-21 12:34:56 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-21 12:37:51 -0700
commit45cd7c1b1174dbeaebc1b52e20cb89927fb115ae (patch)
tree31cc839c9191cc8d0dbd8cd4f013d8034499bde2 /test/syscalls/linux/socket_netlink_route.cc
parentd823b7bd975dd2926324971a08f97522b41dd6e7 (diff)
netstack: don't ACK SYNs in TIME-WAIT
It was possible for a SYN to arrive after the endpoint sent an ACK as part of the transition to TIME-WAIT, but before returning from handleSegmentsLocked(). This caused the SYN to be dequeued and ACK'd despite the change in EndpointState. Deflakes TestTCPTimeWaitNewSyn. Tested with: blaze test --config=gotsan --runs_per_test 10000 \ //third_party/gvisor/pkg/tcpip/transport/tcp:tcp_x_test -j 2000 \ // --test_filter TestTCPTimeWaitNewSyn PiperOrigin-RevId: 380639808
Diffstat (limited to 'test/syscalls/linux/socket_netlink_route.cc')
0 files changed, 0 insertions, 0 deletions