summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/sharedmem/queue
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-10-05 22:48:32 +0000
committergVisor bot <gvisor-bot@google.com>2021-10-05 22:48:32 +0000
commit67d407a4d33db8d7e25ccc3095b22fe33b1a6985 (patch)
treec8f234cc64fafb333e188912780a39098a84719a /pkg/tcpip/link/sharedmem/queue
parent02f7b480cbde8bbdfdf8f2a753d510496b25c156 (diff)
parent84063e88c382748d6990eb24834c0553d530d517 (diff)
Merge release-20210927.0-32-g84063e88c (automated)
Diffstat (limited to 'pkg/tcpip/link/sharedmem/queue')
-rw-r--r--pkg/tcpip/link/sharedmem/queue/rx.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/tcpip/link/sharedmem/queue/rx.go b/pkg/tcpip/link/sharedmem/queue/rx.go
index 696e6c9e5..a78826ebc 100644
--- a/pkg/tcpip/link/sharedmem/queue/rx.go
+++ b/pkg/tcpip/link/sharedmem/queue/rx.go
@@ -119,7 +119,6 @@ func (r *Rx) PostBuffers(buffers []RxBuffer) bool {
}
r.tx.Flush()
-
return true
}
@@ -131,7 +130,6 @@ func (r *Rx) PostBuffers(buffers []RxBuffer) bool {
func (r *Rx) Dequeue(bufs []RxBuffer) ([]RxBuffer, uint32) {
for {
outBufs := bufs
-
// Pull the next descriptor from the rx pipe.
b := r.rx.Pull()
if b == nil {