summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-08-25 16:28:03 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-25 16:32:00 -0700
commitaa2d07442c8760e2b60c4fa0e403657f2fe318e4 (patch)
treea4e9809411f577ee892615bfc33aaee13d37671d /pkg
parentc1d656c8e447da8b499dbe4ecf85bd7b96a2685e (diff)
Avoid the appearance of allocation
PiperOrigin-RevId: 393004533
Diffstat (limited to 'pkg')
-rw-r--r--pkg/tcpip/transport/tcp/accept.go2
1 files changed, 1 insertions, 1 deletions
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,