summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorNayana Bidari <nybidari@google.com>2020-11-13 13:57:02 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-13 13:59:43 -0800
commit839dd97008bacf526c05afa542e67c94f8b399ea (patch)
tree2d04c1165b64ec649a02f011013e5cfc3ce81d51 /pkg/tcpip/stack
parent6c0f53002a7f3a518befbe667d308c3d64cc9a59 (diff)
RACK: Detect DSACK
Detect if the ACK is a duplicate and update in RACK. PiperOrigin-RevId: 342332569
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r--pkg/tcpip/stack/stack.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/stack/stack.go b/pkg/tcpip/stack/stack.go
index ca9f41af4..e0025e0a9 100644
--- a/pkg/tcpip/stack/stack.go
+++ b/pkg/tcpip/stack/stack.go
@@ -82,6 +82,7 @@ type TCPRACKState struct {
FACK seqnum.Value
RTT time.Duration
Reord bool
+ DSACKSeen bool
}
// TCPEndpointID is the unique 4 tuple that identifies a given endpoint.