diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-19 16:49:08 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-19 16:49:08 +0000 |
commit | bc8f399c9668fc31f342539ad19458adb23ea352 (patch) | |
tree | a53e7ef48d6bff1abb6394d001f8e9f0bf0cadf3 /pkg | |
parent | 5eedafe1b263f4b53d7b9c1fa805508674cd0b9e (diff) | |
parent | fd27a917ef068a4e17cddbe3f671b59f52e6e030 (diff) |
Merge release-20200219.0-203-gfd27a91 (automated)
Diffstat (limited to 'pkg')
-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 4d7602d54..3f80995f3 100644 --- a/pkg/tcpip/transport/tcp/accept.go +++ b/pkg/tcpip/transport/tcp/accept.go @@ -420,7 +420,7 @@ func (e *endpoint) handleSynSegment(ctx *listenContext, s *segment, opts *header } func (e *endpoint) incSynRcvdCount() bool { - if e.synRcvdCount >= (cap(e.acceptedChan)) { + if e.synRcvdCount >= cap(e.acceptedChan) { return false } e.synRcvdCount++ |