summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-03-18 20:54:16 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2020-03-18 20:56:56 +0100
commitda4e436c2b721d261a51e765aca844c9b85883dd (patch)
tree1bd6834809d98291229670ddb9839a3e45d96490 /pkg/tcpip/transport/tcp
parent9ce2c8cbc404ca308ce082d3c57a1ee230e1ec61 (diff)
Adapt for ARM64
Diffstat (limited to 'pkg/tcpip/transport/tcp')
-rw-r--r--pkg/tcpip/transport/tcp/snd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/snd.go b/pkg/tcpip/transport/tcp/snd.go
index b74b61e7d..f77f73eb3 100644
--- a/pkg/tcpip/transport/tcp/snd.go
+++ b/pkg/tcpip/transport/tcp/snd.go
@@ -273,7 +273,7 @@ func newSender(ep *endpoint, iss, irs seqnum.Value, sndWnd seqnum.Size, mss uint
// their initial values.
func (s *sender) initCongestionControl(congestionControlName tcpip.CongestionControlOption) congestionControl {
s.sndCwnd = InitialCwnd
- s.sndSsthresh = math.MaxInt64
+ s.sndSsthresh = math.MaxInt32
switch congestionControlName {
case ccCubic: