diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-04-09 10:49:29 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-09 10:49:29 +0000 |
commit | f2eafa5359ed88b2a674a73b9511a5ae15df4819 (patch) | |
tree | 147974d3220e7270f67c008394062917d29f87eb /pkg | |
parent | 1beca999f271a677c7c821e259f46c8db875c2d9 (diff) | |
parent | 1fe5dd8c68ef75facb0c6075a2324d816f4d2c50 (diff) |
Merge release-20210408.0-10-g1fe5dd8c6 (automated)
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/tcpip/transport/tcp/accept.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/tcp/accept.go b/pkg/tcpip/transport/tcp/accept.go index 7372ebc08..f020ff8fa 100644 --- a/pkg/tcpip/transport/tcp/accept.go +++ b/pkg/tcpip/transport/tcp/accept.go @@ -543,8 +543,7 @@ func (e *endpoint) handleListenSegment(ctx *listenContext, s *segment) tcpip.Err if !e.acceptQueueIsFull() { s.incRef() atomic.AddInt32(&e.synRcvdCount, 1) - _ = e.handleSynSegment(ctx, s, &opts) - return nil + return e.handleSynSegment(ctx, s, &opts) } e.stack.Stats().TCP.ListenOverflowSynDrop.Increment() e.stats.ReceiveErrors.ListenOverflowSynDrop.Increment() |