summaryrefslogtreecommitdiffhomepage
path: root/src/main.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
commit67f8a0895c11ddce638c446ffe42a238307292e1 (patch)
tree513045f780b59cbd5c9c7a59303bd769bb6979b8 /src/main.c
parent14b46145b769adb1903f48415659d69be3cf986e (diff)
queueing: more standard init/uninit names
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index e2686a2..5034d7b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -27,7 +27,7 @@ static int __init mod_init(void)
#endif
noise_init();
- ret = init_crypt_ctx_cache();
+ ret = crypt_ctx_cache_init();
if (ret < 0)
goto err_packet;
@@ -41,7 +41,7 @@ static int __init mod_init(void)
return 0;
err_device:
- deinit_crypt_ctx_cache();
+ crypt_ctx_cache_uninit();
err_packet:
return ret;
}
@@ -49,7 +49,7 @@ err_packet:
static void __exit mod_exit(void)
{
device_uninit();
- deinit_crypt_ctx_cache();
+ crypt_ctx_cache_uninit();
pr_debug("WireGuard unloaded\n");
}