diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-02 23:34:45 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-03 18:27:33 +0100 |
commit | 4cf5f889f9b4f90930b5883672450fe20a5c981d (patch) | |
tree | bb41eb735274745fe8d3295a3e3aa65bda3b3793 /src/queueing.c | |
parent | noise: whiten the nanoseconds portion of the timestamp (diff) | |
download | wireguard-monolithic-historical-4cf5f889f9b4f90930b5883672450fe20a5c981d.tar.xz wireguard-monolithic-historical-4cf5f889f9b4f90930b5883672450fe20a5c981d.zip |
queueing: more reasonable allocator function convention
Diffstat (limited to 'src/queueing.c')
-rw-r--r-- | src/queueing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queueing.c b/src/queueing.c index 6f87fca..5c964fc 100644 --- a/src/queueing.c +++ b/src/queueing.c @@ -6,7 +6,7 @@ #include "queueing.h" struct multicore_worker __percpu * -wg_packet_alloc_percpu_multicore_worker(work_func_t function, void *ptr) +wg_packet_percpu_multicore_worker_alloc(work_func_t function, void *ptr) { int cpu; struct multicore_worker __percpu *worker = @@ -33,7 +33,7 @@ int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function, return ret; if (function) { if (multicore) { - queue->worker = wg_packet_alloc_percpu_multicore_worker( + queue->worker = wg_packet_percpu_multicore_worker_alloc( function, queue); if (!queue->worker) return -ENOMEM; |