summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp/endpoint.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-10-23 23:59:32 +0000
committergVisor bot <gvisor-bot@google.com>2019-10-23 23:59:32 +0000
commit10b2240df3a2d5c63ca3bbb7a19c68a9144e824f (patch)
tree1eb0bf08547f306160a2c7934a370ee7235cf650 /pkg/tcpip/transport/tcp/endpoint.go
parentbdf5354e934d5b6fa3211d18731f7255c8bd56f4 (diff)
parent6d4d9564e3a410684516323fd816b8de64dfb11c (diff)
Merge release-20190806.1-315-g6d4d956 (automated)
Diffstat (limited to 'pkg/tcpip/transport/tcp/endpoint.go')
-rw-r--r--pkg/tcpip/transport/tcp/endpoint.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/tcp/endpoint.go b/pkg/tcpip/transport/tcp/endpoint.go
index 8b9cb4c33..c6bc5528c 100644
--- a/pkg/tcpip/transport/tcp/endpoint.go
+++ b/pkg/tcpip/transport/tcp/endpoint.go
@@ -1729,6 +1729,7 @@ func (e *endpoint) connect(addr tcpip.FullAddress, handshake bool, run bool) *tc
e.segmentQueue.mu.Unlock()
e.snd.updateMaxPayloadSize(int(e.route.MTU()), 0)
e.state = StateEstablished
+ e.stack.Stats().TCP.CurrentEstablished.Increment()
}
if run {