summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-19 16:49:08 +0000
committergVisor bot <gvisor-bot@google.com>2020-03-19 16:49:08 +0000
commitbc8f399c9668fc31f342539ad19458adb23ea352 (patch)
treea53e7ef48d6bff1abb6394d001f8e9f0bf0cadf3 /pkg/tcpip/transport
parent5eedafe1b263f4b53d7b9c1fa805508674cd0b9e (diff)
parentfd27a917ef068a4e17cddbe3f671b59f52e6e030 (diff)
Merge release-20200219.0-203-gfd27a91 (automated)
Diffstat (limited to 'pkg/tcpip/transport')
-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 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++