summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-30 18:04:47 +0000
committergVisor bot <gvisor-bot@google.com>2021-08-30 18:04:47 +0000
commit19cc7af3438ed43d2f7258ae5032595cad507b7b (patch)
treec4e0f99ef375502f6d4f14df07d4aa99b1553b4c /pkg/tcpip/stack
parentd5a654f1f59004ee296c1a25b24864f73cb2e49b (diff)
parent9625071e6dd6d949f6bd443910eaf56ce1c9762d (diff)
Merge release-20210823.0-29-g9625071e6 (automated)
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r--pkg/tcpip/stack/tcp.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/tcp.go b/pkg/tcpip/stack/tcp.go
index 93ea83cdc..dc7289441 100644
--- a/pkg/tcpip/stack/tcp.go
+++ b/pkg/tcpip/stack/tcp.go
@@ -19,6 +19,7 @@ import (
"gvisor.dev/gvisor/pkg/tcpip"
"gvisor.dev/gvisor/pkg/tcpip/header"
+ "gvisor.dev/gvisor/pkg/tcpip/internal/tcp"
"gvisor.dev/gvisor/pkg/tcpip/seqnum"
)
@@ -402,7 +403,7 @@ type TCPSndBufState struct {
type TCPEndpointStateInner struct {
// TSOffset is a randomized offset added to the value of the TSVal
// field in the timestamp option.
- TSOffset uint32
+ TSOffset tcp.TSOffset
// SACKPermitted is set to true if the peer sends the TCPSACKPermitted
// option in the SYN/SYN-ACK.