From aa2d07442c8760e2b60c4fa0e403657f2fe318e4 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 25 Aug 2021 16:28:03 -0700 Subject: Avoid the appearance of allocation PiperOrigin-RevId: 393004533 --- pkg/tcpip/transport/tcp/accept.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tcpip/transport/tcp/accept.go b/pkg/tcpip/transport/tcp/accept.go index 9560ed43c..0fd8929f3 100644 --- a/pkg/tcpip/transport/tcp/accept.go +++ b/pkg/tcpip/transport/tcp/accept.go @@ -734,7 +734,7 @@ func (e *endpoint) handleListenSegment(ctx *listenContext, s *segment) tcpip.Err // Switch state to connected. n.isConnectNotified = true - h := &handshake{ + h := handshake{ ep: n, iss: iss, ackNum: irs + 1, -- cgit v1.2.3