Fix method comment to match method name.

PiperOrigin-RevId: 292624867
This commit is contained in:
Ian Gudger
2020-01-31 15:09:13 -08:00
committed by gVisor bot
parent 04cccaaeee
commit 02997af5ab
+2 -2
View File
@@ -271,8 +271,8 @@ func (l *listenContext) createConnectingEndpoint(s *segment, iss seqnum.Value, i
return n, nil
}
// createEndpoint creates a new endpoint in connected state and then performs
// the TCP 3-way handshake.
// createEndpointAndPerformHandshake creates a new endpoint in connected state
// and then performs the TCP 3-way handshake.
func (l *listenContext) createEndpointAndPerformHandshake(s *segment, opts *header.TCPSynOptions, queue *waiter.Queue) (*endpoint, *tcpip.Error) {
// Create new endpoint.
irs := s.sequenceNumber