gvisor/pkg/tcpip/transport/tcp
Bhasker Hariharan e0fb921205 Fix data race in synRcvdState.
When checking the length of the acceptedChan we should hold the
endpoint mutex otherwise a syn received while the listening socket
is being closed can result in a data race where the cleanupLocked
routine sets acceptedChan to nil while a handshake goroutine
in progress could try and check it at the same time.

PiperOrigin-RevId: 251537697
2019-06-04 16:17:24 -07:00
..
testing/context Fixes to TCP listen behavior. 2019-05-30 12:08:41 -07:00
BUILD Disable certain tests that are flaky under race detector. 2019-05-31 16:19:49 -07:00
accept.go Delete debug log lines left by mistake. 2019-06-03 17:00:18 -07:00
connect.go Fix data race in synRcvdState. 2019-06-04 16:17:24 -07:00
cubic.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
dual_stack_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
endpoint.go Change segment queue limit to be of fixed size. 2019-05-31 16:17:33 -07:00
endpoint_state.go Change segment queue limit to be of fixed size. 2019-05-31 16:17:33 -07:00
forwarder.go Fixes to TCP listen behavior. 2019-05-30 12:08:41 -07:00
protocol.go Change segment queue limit to be of fixed size. 2019-05-31 16:17:33 -07:00
rcv.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
reno.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sack.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sack_scoreboard.go Implement support for SACK based recovery(RFC 6675). 2019-05-03 10:51:18 -07:00
sack_scoreboard_test.go Implement support for SACK based recovery(RFC 6675). 2019-05-03 10:51:18 -07:00
segment.go Implement support for SACK based recovery(RFC 6675). 2019-05-03 10:51:18 -07:00
segment_heap.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
segment_queue.go Change segment queue limit to be of fixed size. 2019-05-31 16:17:33 -07:00
segment_state.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
snd.go Implement support for SACK based recovery(RFC 6675). 2019-05-03 10:51:18 -07:00
snd_state.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
tcp_noracedetector_test.go Disable certain tests that are flaky under race detector. 2019-05-31 16:19:49 -07:00
tcp_sack_test.go Implement support for SACK based recovery(RFC 6675). 2019-05-03 10:51:18 -07:00
tcp_test.go Disable certain tests that are flaky under race detector. 2019-05-31 16:19:49 -07:00
tcp_timestamp_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
timer.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00