summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-04 18:59:53 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-04 18:59:53 +0000
commit65d9c432c38d7dbf0f00094f70f7fb4adbb249f7 (patch)
tree6625be0c5eb767af7ccab618d32c54de8f75a378 /pkg
parentf6c0ff8070c8ef2502db9d6d5e1e2f2f2bb011c6 (diff)
parenta9face757a2a0b7530999f112def3b633dbdecf4 (diff)
Merge release-20210301.0-14-ga9face757 (automated)
Diffstat (limited to 'pkg')
-rw-r--r--pkg/tcpip/transport/tcp/connect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/connect.go b/pkg/tcpip/transport/tcp/connect.go
index d1e452421..61a173fbb 100644
--- a/pkg/tcpip/transport/tcp/connect.go
+++ b/pkg/tcpip/transport/tcp/connect.go
@@ -606,7 +606,7 @@ func newBackoffTimer(timeout, maxTimeout time.Duration, f func()) (*backoffTimer
func (bt *backoffTimer) reset() tcpip.Error {
bt.timeout *= 2
- if bt.timeout > MaxRTO {
+ if bt.timeout > bt.maxTimeout {
return &tcpip.ErrTimeout{}
}
bt.t.Reset(bt.timeout)