aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/queueing.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-25 01:39:31 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-25 01:39:31 +0200
commitc1829ab76535a8153b04cdf751e74fa71f6cbfb4 (patch)
tree1de8892f15e5a18c34364759cc80f453d228f868 /src/queueing.c
parenttools: use key_is_zero for comparing to zeros (diff)
downloadwireguard-monolithic-historical-c1829ab76535a8153b04cdf751e74fa71f6cbfb4.tar.xz
wireguard-monolithic-historical-c1829ab76535a8153b04cdf751e74fa71f6cbfb4.zip
queueing: more standard init/uninit names
Diffstat (limited to 'src/queueing.c')
-rw-r--r--src/queueing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queueing.c b/src/queueing.c
index 86e1324..dec02ee 100644
--- a/src/queueing.c
+++ b/src/queueing.c
@@ -32,7 +32,7 @@ int packet_queue_init(struct crypt_queue *queue, work_func_t function, bool mult
return 0;
}
-int __init init_crypt_ctx_cache(void)
+int __init crypt_ctx_cache_init(void)
{
crypt_ctx_cache = KMEM_CACHE(crypt_ctx, 0);
if (!crypt_ctx_cache)
@@ -40,7 +40,7 @@ int __init init_crypt_ctx_cache(void)
return 0;
}
-void deinit_crypt_ctx_cache(void)
+void crypt_ctx_cache_uninit(void)
{
kmem_cache_destroy(crypt_ctx_cache);
}