diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-04-22 23:38:19 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-22 23:38:19 +0000 |
commit | 263d3a106bd707da59e359a88a9114b1e09c5eee (patch) | |
tree | 5bd0a055cb79c86f17e089734142629094bacef3 /pkg/tcpip/transport | |
parent | 42ab6ba3f895199ebcad7093dc2f7e98133898ae (diff) | |
parent | 2739cf46284f2786ad33b545d55b8178bc46f7de (diff) |
Merge release-20210419.0-22-g2739cf462 (automated)
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r-- | pkg/tcpip/transport/tcp/endpoint.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/tcpip/transport/tcp/endpoint.go b/pkg/tcpip/transport/tcp/endpoint.go index 50f72bf38..3a7b2d166 100644 --- a/pkg/tcpip/transport/tcp/endpoint.go +++ b/pkg/tcpip/transport/tcp/endpoint.go @@ -2398,10 +2398,6 @@ func (e *endpoint) shutdownLocked(flags tcpip.ShutdownFlags) tcpip.Error { // Listen puts the endpoint in "listen" mode, which allows it to accept // new connections. func (e *endpoint) Listen(backlog int) tcpip.Error { - // Accept one more than the configured listen backlog to keep in parity with - // Linux. Ref, because of missing equality check here: - // https://github.com/torvalds/linux/blob/7acac4b3196/include/net/sock.h#L937 - backlog++ err := e.listen(backlog) if err != nil { if !err.IgnoreStats() { |