diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-25 01:39:31 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-25 01:39:31 +0200 |
commit | 67f8a0895c11ddce638c446ffe42a238307292e1 (patch) | |
tree | 513045f780b59cbd5c9c7a59303bd769bb6979b8 /src/main.c | |
parent | 14b46145b769adb1903f48415659d69be3cf986e (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); } |