diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-04 18:59:53 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-04 18:59:53 +0000 |
commit | 65d9c432c38d7dbf0f00094f70f7fb4adbb249f7 (patch) | |
tree | 6625be0c5eb767af7ccab618d32c54de8f75a378 /pkg/tcpip/transport | |
parent | f6c0ff8070c8ef2502db9d6d5e1e2f2f2bb011c6 (diff) | |
parent | a9face757a2a0b7530999f112def3b633dbdecf4 (diff) |
Merge release-20210301.0-14-ga9face757 (automated)
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r-- | pkg/tcpip/transport/tcp/connect.go | 2 |
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) |