aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-12 18:51:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-15 01:50:11 +0200
commitc2cb0a2013a338200b6aeda719bd01f1d89209e2 (patch)
treeda958ec8bd9083a455a467aeb8f287c80ff349db /src/main.c
parentcompat: add READ_ONCE/WRITE_ONCE for old kernels (diff)
downloadwireguard-monolithic-historical-c2cb0a2013a338200b6aeda719bd01f1d89209e2.tar.xz
wireguard-monolithic-historical-c2cb0a2013a338200b6aeda719bd01f1d89209e2.zip
data: reorganize and edit new queuing code
This involves many changes of Samuel's new system, in addition to some TODOs for things that are not yet ideal.
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 9ed60d0..3fca8ba 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_cache();
+ ret = init_crypt_ctx_cache();
if (ret < 0)
goto err_packet;
@@ -41,7 +41,7 @@ static int __init mod_init(void)
return 0;
err_device:
- deinit_crypt_cache();
+ deinit_crypt_ctx_cache();
err_packet:
return ret;
}
@@ -49,7 +49,7 @@ err_packet:
static void __exit mod_exit(void)
{
device_uninit();
- deinit_crypt_cache();
+ deinit_crypt_ctx_cache();
pr_debug("WireGuard unloaded\n");
}