summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-24 14:18:21 +0000
committergVisor bot <gvisor-bot@google.com>2020-09-24 14:18:21 +0000
commit3102024707dc370e025f1b46fa2be12eade2f9cb (patch)
treee5627183f6717f7358b170b126acab0d2afb5cd3 /pkg/tcpip/stack
parenta73091443e8336926356fd23731b532acaaa9bcf (diff)
parent5d50c91c4da820220adcfe9ce0741ed1e5e9f4b7 (diff)
Merge release-20200914.0-151-g5d50c91c4 (automated)
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r--pkg/tcpip/stack/stack.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/tcpip/stack/stack.go b/pkg/tcpip/stack/stack.go
index 68cf77de2..e7b7e95d4 100644
--- a/pkg/tcpip/stack/stack.go
+++ b/pkg/tcpip/stack/stack.go
@@ -144,10 +144,7 @@ type TCPReceiverState struct {
// PendingBufUsed is the number of bytes pending in the receive
// queue.
- PendingBufUsed seqnum.Size
-
- // PendingBufSize is the size of the socket receive buffer.
- PendingBufSize seqnum.Size
+ PendingBufUsed int
}
// TCPSenderState holds a copy of the internal state of the sender for