diff options
author | Rahat Mahmood <rahat@google.com> | 2019-08-02 12:51:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-02 12:52:40 -0700 |
commit | 2906dffcdbd4398361d5d7f718faa4f24fdc3b8e (patch) | |
tree | a4579e1fca9e9dec457329c7b4f4b96b8206bda3 /pkg/tcpip/transport/tcp/snd.go | |
parent | aaaefdf9cadf033fa281b612315c3227f5ab1c7a (diff) |
Automated rollback of changelist 261191548
PiperOrigin-RevId: 261373749
Diffstat (limited to 'pkg/tcpip/transport/tcp/snd.go')
-rw-r--r-- | pkg/tcpip/transport/tcp/snd.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/tcpip/transport/tcp/snd.go b/pkg/tcpip/transport/tcp/snd.go index daf28a49a..0fee7ab72 100644 --- a/pkg/tcpip/transport/tcp/snd.go +++ b/pkg/tcpip/transport/tcp/snd.go @@ -124,10 +124,6 @@ type sender struct { rtt rtt rto time.Duration - // mss is the largest segment that can be sent without fragmentation. - // Initialized when then sender is created, read-only afterwards. - mss int - // maxPayloadSize is the maximum size of the payload of a given segment. // It is initialized on demand. maxPayloadSize int @@ -205,7 +201,6 @@ func newSender(ep *endpoint, iss, irs seqnum.Value, sndWnd seqnum.Size, mss uint rto: 1 * time.Second, rttMeasureSeqNum: iss + 1, lastSendTime: time.Now(), - mss: int(mss), maxPayloadSize: maxPayloadSize, maxSentAck: irs + 1, fr: fastRecovery{ |