summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/ping/endpoint.go
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-05-11 16:20:01 -0700
committerShentubot <shentubot@google.com>2018-05-11 16:20:50 -0700
commit85fd5d40ff78f7b7fd473e5215daba84a28977f3 (patch)
treefea521e01f18e3d54b546bbdfc2aeb048d5fdbec /pkg/tcpip/transport/ping/endpoint.go
parent8deabbaae1fc45b042d551891080deef866dc0f8 (diff)
netstack: release rcv lock after ping socket save is done.
PiperOrigin-RevId: 196324694 Change-Id: Ia3a48976433f21622eacb4a38fefe7143ca5e31b
Diffstat (limited to 'pkg/tcpip/transport/ping/endpoint.go')
-rw-r--r--pkg/tcpip/transport/ping/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/ping/endpoint.go b/pkg/tcpip/transport/ping/endpoint.go
index 609e7d947..2b80881bb 100644
--- a/pkg/tcpip/transport/ping/endpoint.go
+++ b/pkg/tcpip/transport/ping/endpoint.go
@@ -52,7 +52,7 @@ type endpoint struct {
rcvMu sync.Mutex `state:"nosave"`
rcvReady bool
rcvList pingPacketList
- rcvBufSizeMax int
+ rcvBufSizeMax int `state:".(int)"`
rcvBufSize int
rcvClosed bool
rcvTimestamp bool