gvisor/pkg/tcpip
Brian Geffon f295e26b8a Release mutex in BidirectionalConnect to avoid deadlock.
When doing a BidirectionalConnect we don't need to continue holding
the ConnectingEndpoint's mutex when creating the NewConnectedEndpoint
as it was held during the Connect. Additionally, we're not holding
the baseEndpoint mutex while Unregistering an event.

PiperOrigin-RevId: 196875557
Change-Id: Ied4ceed89de883121c6cba81bc62aa3a8549b1e9
2018-05-16 13:07:12 -07:00
..
adapters/gonet Implement SO_TIMESTAMP 2018-05-01 22:11:49 -07:00
buffer Check in gVisor. 2018-04-28 01:44:26 -04:00
checker Check in gVisor. 2018-04-28 01:44:26 -04:00
header Fix misspellings 2018-05-07 16:38:01 -07:00
link Write either packet logs or pcap file. But not both. 2018-05-01 19:11:59 -07:00
network Add support for ping sockets 2018-05-01 22:51:41 -07:00
ports Add mising license headers. 2018-04-28 18:10:24 -07:00
sample Implement SO_TIMESTAMP 2018-05-01 22:11:49 -07:00
seqnum Check in gVisor. 2018-04-28 01:44:26 -04:00
stack Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
transport Release mutex in BidirectionalConnect to avoid deadlock. 2018-05-16 13:07:12 -07:00
BUILD Check in gVisor. 2018-04-28 01:44:26 -04:00
tcpip.go netstack: TCP connecting state endpoint save / restore support. 2018-05-11 16:28:39 -07:00
tcpip_test.go Check in gVisor. 2018-04-28 01:44:26 -04:00