summaryrefslogtreecommitdiffstatshomepage
path: root/src/timers.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
commit6a10ce00780c3060e55b5f8029f28b0619a69b9c (patch)
treeb8a323ff3cad1fcf839518527b6c0907b34249b3 /src/timers.c
parentcompat: ship padata if kernel doesn't have it (diff)
downloadwireguard-linux-compat-6a10ce00780c3060e55b5f8029f28b0619a69b9c.tar.xz
wireguard-linux-compat-6a10ce00780c3060e55b5f8029f28b0619a69b9c.zip
handshake: process in parallel
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/timers.c')
-rw-r--r--src/timers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.c b/src/timers.c
index 92c7c78..fda7b93 100644
--- a/src/timers.c
+++ b/src/timers.c
@@ -74,7 +74,7 @@ static void expired_new_handshake(unsigned long ptr)
static void expired_kill_ephemerals(unsigned long ptr)
{
peer_get_from_ptr(ptr);
- if (!queue_work(peer->device->handshake_wq, &peer->clear_peer_work)) /* Takes our reference. */
+ if (!queue_work(peer->device->peer_wq, &peer->clear_peer_work)) /* Takes our reference. */
peer_put(peer); /* If the work was already on the queue, we want to drop the extra reference */
}
static void queued_expired_kill_ephemerals(struct work_struct *work)