mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-07-29 16:22:49 +02:00
device: fix missed return of QueueOutboundElementsContainer to its WaitPool
Fixes: 3bb8fec
("conn, device, tun: implement vectorized I/O plumbing")
Reviewed-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
deedce495a
commit
c803ce1e5b
1 changed files with 1 additions and 0 deletions
|
@ -568,6 +568,7 @@ func (peer *Peer) RoutineSequentialSender(maxBatchSize int) {
|
||||||
device.PutMessageBuffer(elem.buffer)
|
device.PutMessageBuffer(elem.buffer)
|
||||||
device.PutOutboundElement(elem)
|
device.PutOutboundElement(elem)
|
||||||
}
|
}
|
||||||
|
device.PutOutboundElementsContainer(elemsContainer)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
dataSent := false
|
dataSent := false
|
||||||
|
|
Loading…
Add table
Reference in a new issue