aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/router/workers.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2020-02-16 15:50:32 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2020-02-16 15:50:32 +0100
commitb62eeb89ab8a90f005dd48776e38dd33f0f3fb9e (patch)
treeb19d73ca542b3a566c5c6dedf77fb8c78abf4911 /src/wireguard/router/workers.rs
parentConstant renamed to be consistent with kernel WG (diff)
downloadwireguard-rs-b62eeb89ab8a90f005dd48776e38dd33f0f3fb9e.tar.xz
wireguard-rs-b62eeb89ab8a90f005dd48776e38dd33f0f3fb9e.zip
Work on reducing context switches
Diffstat (limited to 'src/wireguard/router/workers.rs')
-rw-r--r--src/wireguard/router/workers.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wireguard/router/workers.rs b/src/wireguard/router/workers.rs
index 43464a0..8ddc136 100644
--- a/src/wireguard/router/workers.rs
+++ b/src/wireguard/router/workers.rs
@@ -132,8 +132,7 @@ pub fn worker_inbound<E: Endpoint, C: Callbacks, T: tun::Writer, B: udp::Writer<
}
}
-/* TODO: Replace with run-queue
- */
+
pub fn worker_outbound<E: Endpoint, C: Callbacks, T: tun::Writer, B: udp::Writer<E>>(
peer: Arc<PeerInner<E, C, T, B>>,
receiver: Receiver<JobOutbound>,