Skip to content

Commit cfa4567

Browse files
committed
device: fix missed return of QueueOutboundElementsContainer to its WaitPool
Fixes: 3bb8fec ("conn, device, tun: implement vectorized I/O plumbing") Signed-off-by: Jordan Whited <[email protected]>
1 parent 1e08883 commit cfa4567

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

device/send.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ func (peer *Peer) RoutineSequentialSender(maxBatchSize int) {
506506
device.PutMessageBuffer(elem.buffer)
507507
device.PutOutboundElement(elem)
508508
}
509+
device.PutOutboundElementsContainer(elemsContainer)
509510
continue
510511
}
511512
dataSent := false

0 commit comments

Comments
 (0)