From 1df5ad1c7ac075b4f81021c00e8d68b1e94448d3 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 23 Sep 2021 13:09:00 -0700 Subject: Implement S/R for TransportEndpointStats PiperOrigin-RevId: 398559780 --- pkg/tcpip/transport/icmp/endpoint.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkg/tcpip/transport/icmp') diff --git a/pkg/tcpip/transport/icmp/endpoint.go b/pkg/tcpip/transport/icmp/endpoint.go index b3436e44c..bb0db9f70 100644 --- a/pkg/tcpip/transport/icmp/endpoint.go +++ b/pkg/tcpip/transport/icmp/endpoint.go @@ -54,9 +54,8 @@ type endpoint struct { waiterQueue *waiter.Queue uniqueID uint64 net network.Endpoint - // TODO(b/142022063): Add ability to save and restore per endpoint stats. - stats tcpip.TransportEndpointStats `state:"nosave"` - ops tcpip.SocketOptions + stats tcpip.TransportEndpointStats + ops tcpip.SocketOptions // The following fields are used to manage the receive queue, and are // protected by rcvMu. -- cgit v1.2.3