aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/send.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-23 14:14:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-30 18:07:28 +0200
commit9fe1150c42988ff788e8a51425736b20d24833b9 (patch)
tree5b0919dc4f0660e5844b718cb06d3dd94e4fcbc9 /src/send.c
parentcompat: ship padata if kernel doesn't have it (diff)
downloadwireguard-monolithic-historical-9fe1150c42988ff788e8a51425736b20d24833b9.tar.xz
wireguard-monolithic-historical-9fe1150c42988ff788e8a51425736b20d24833b9.zip
handshake: process in parallel
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 a952da7..72b2854 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->handshake_wq, &peer->transmit_handshake_work))
+ if (!queue_work(peer->device->peer_wq, &peer->transmit_handshake_work))
peer_put(peer); /* If the work was already queued, we want to drop the extra reference */
}