summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/udp
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-24 01:03:28 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-24 01:03:28 +0000
commit16ab991e05d8f511fc6c7e184751fd330e155950 (patch)
treef6c3ce97f23d8f09d8e3282eb126e9f6b1001f38 /pkg/tcpip/transport/udp
parent4d5f3fb1a454d4421414a355ff94276e1d6e0fdc (diff)
parent82a5cada5944390e738a8b7235fb861965ca40f7 (diff)
Merge release-20200622.1-208-g82a5cada5 (automated)
Diffstat (limited to 'pkg/tcpip/transport/udp')
-rw-r--r--pkg/tcpip/transport/udp/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/udp/endpoint.go b/pkg/tcpip/transport/udp/endpoint.go
index a14643ae8..6e692da07 100644
--- a/pkg/tcpip/transport/udp/endpoint.go
+++ b/pkg/tcpip/transport/udp/endpoint.go
@@ -1451,7 +1451,7 @@ func (e *endpoint) HandlePacket(r *stack.Route, id stack.TransportEndpointID, pk
packet.tos, _ = header.IPv6(pkt.NetworkHeader).TOS()
}
- packet.timestamp = e.stack.NowNanoseconds()
+ packet.timestamp = e.stack.Clock().NowNanoseconds()
e.rcvMu.Unlock()