]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: remove selects from encrypt/decrypt/inbound/outbound enqueuing
authorJosh Bleecher Snyder <josh@tailscale.com>
Tue, 12 Jan 2021 01:21:16 +0000 (17:21 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Jan 2021 18:57:00 +0000 (19:57 +0100)
commit2fe19ce54db258d8c47ff03d8335fd28c7c7ad0f
tree6a38900d0ada9f5f8e3b8e92a38d9eaf8b5307fe
parent0cc15e7c7c6fc2917cb1cea8ea3f10f7d375cac4
device: remove selects from encrypt/decrypt/inbound/outbound enqueuing

Block instead. Backpressure here is fine, probably preferable.
This reduces code complexity.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
device/receive.go
device/send.go