aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/config.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-06-07 01:39:08 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-15 01:16:50 +0200
commit7bfd756cb395307ee779e9382d4745691cd12a0c (patch)
tree45f48c86d6dde7fc92c9fdae03838e3d445becda /src/config.c
parenttimers: style (diff)
downloadwireguard-monolithic-historical-7bfd756cb395307ee779e9382d4745691cd12a0c.tar.xz
wireguard-monolithic-historical-7bfd756cb395307ee779e9382d4745691cd12a0c.zip
queues: entirely rework parallel system
This removes our dependency on padata. Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 7ffc529..a964f27 100644
--- a/src/config.c
+++ b/src/config.c
@@ -114,7 +114,7 @@ static int set_peer(struct wireguard_device *wg, void __user *user_peer, size_t
}
if (wg->dev->flags & IFF_UP)
- packet_send_queue(peer);
+ queue_work(wg->crypt_wq, &peer->init_queue.work);
peer_put(peer);