summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/conntrack.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-26 13:54:18 +0000
committergVisor bot <gvisor-bot@google.com>2021-05-26 13:54:18 +0000
commitbad85153aee12855d230c26fbd38a71a6b467c61 (patch)
tree9cafad02339b61a34ff6c07ed9e9e46847ced1e9 /pkg/tcpip/stack/conntrack.go
parent014a4bec310ce657c40a620cdcedb7c868a34631 (diff)
parentfcad6f91a3f292b6b76be10f03baf05ee5245d3d (diff)
Merge release-20210518.0-45-gfcad6f91a (automated)
Diffstat (limited to 'pkg/tcpip/stack/conntrack.go')
-rw-r--r--pkg/tcpip/stack/conntrack.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/tcpip/stack/conntrack.go b/pkg/tcpip/stack/conntrack.go
index 5720e7543..f7fbcbaa7 100644
--- a/pkg/tcpip/stack/conntrack.go
+++ b/pkg/tcpip/stack/conntrack.go
@@ -125,6 +125,8 @@ type conn struct {
tcb tcpconntrack.TCB
// lastUsed is the last time the connection saw a relevant packet, and
// is updated by each packet on the connection. It is protected by mu.
+ //
+ // TODO(gvisor.dev/issue/5939): do not use the ambient clock.
lastUsed time.Time `state:".(unixTime)"`
}