summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp/reno.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2018-08-03 17:53:24 -0700
committerShentubot <shentubot@google.com>2018-08-03 17:54:42 -0700
commit56fa562dda18260440726a37ea467f6eb6aa6c12 (patch)
treee4fec8af52c0011f1c142c414e23e5aad8fa72ff /pkg/tcpip/transport/tcp/reno.go
parent25178ebdf5e881eae8e81eaf2f69d96de42d2250 (diff)
Cubic implementation for Netstack.
This CL implements CUBIC as described in https://tools.ietf.org/html/rfc8312. PiperOrigin-RevId: 207353142 Change-Id: I329cbf3277f91127e99e488f07d906f6779c6603
Diffstat (limited to 'pkg/tcpip/transport/tcp/reno.go')
-rw-r--r--pkg/tcpip/transport/tcp/reno.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/tcp/reno.go b/pkg/tcpip/transport/tcp/reno.go
index 03ae8d747..feb593234 100644
--- a/pkg/tcpip/transport/tcp/reno.go
+++ b/pkg/tcpip/transport/tcp/reno.go
@@ -96,3 +96,8 @@ func (r *renoState) HandleRTOExpired() {
// initial congestion window.
r.s.sndCwnd = 1
}
+
+// PostRecovery implements congestionControl.PostRecovery.
+func (r *renoState) PostRecovery() {
+ // noop.
+}