diff options
author | Tamir Duberstein <tamird@google.com> | 2021-08-25 16:28:03 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-25 16:32:00 -0700 |
commit | aa2d07442c8760e2b60c4fa0e403657f2fe318e4 (patch) | |
tree | a4e9809411f577ee892615bfc33aaee13d37671d /pkg/tcpip/transport/tcp | |
parent | c1d656c8e447da8b499dbe4ecf85bd7b96a2685e (diff) |
Avoid the appearance of allocation
PiperOrigin-RevId: 393004533
Diffstat (limited to 'pkg/tcpip/transport/tcp')
-rw-r--r-- | pkg/tcpip/transport/tcp/accept.go | 2 |
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, |