diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-04-05 14:45:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-04-08 01:49:32 +0200 |
commit | 0a41cbc6d58faabf2d7f28c9323821255267827a (patch) | |
tree | f6ae23a4c82a4ab2ebd627cf4cc452a49ae4d5d5 /src/timers.c | |
parent | data: simplify flow (diff) | |
download | wireguard-monolithic-historical-0a41cbc6d58faabf2d7f28c9323821255267827a.tar.xz wireguard-monolithic-historical-0a41cbc6d58faabf2d7f28c9323821255267827a.zip |
data: cleanup parallel workqueue and use two max_active
Diffstat (limited to 'src/timers.c')
-rw-r--r-- | src/timers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.c b/src/timers.c index 4fd9ec8..92c7c78 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->workqueue, &peer->clear_peer_work)) /* Takes our reference. */ + if (!queue_work(peer->device->handshake_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) |