aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/send.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-04-05 14:45:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-04-08 01:49:32 +0200
commit0a41cbc6d58faabf2d7f28c9323821255267827a (patch)
treef6ae23a4c82a4ab2ebd627cf4cc452a49ae4d5d5 /src/send.c
parentdata: simplify flow (diff)
downloadwireguard-monolithic-historical-0a41cbc6d58faabf2d7f28c9323821255267827a.tar.xz
wireguard-monolithic-historical-0a41cbc6d58faabf2d7f28c9323821255267827a.zip
data: cleanup parallel workqueue and use two max_active
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/send.c b/src/send.c
index 6ed660b..a952da7 100644
--- a/src/send.c
+++ b/src/send.c
@@ -56,7 +56,7 @@ void packet_queue_handshake_initiation(struct wireguard_peer *peer)
return;
/* Queues up calling packet_send_queued_handshakes(peer), where we do a peer_put(peer) after: */
- if (!queue_work(peer->device->workqueue, &peer->transmit_handshake_work))
+ if (!queue_work(peer->device->handshake_wq, &peer->transmit_handshake_work))
peer_put(peer); /* If the work was already queued, we want to drop the extra reference */
}