diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-22 03:49:57 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-06-24 02:06:26 +0200 |
commit | 3130692343c13a8b3fc52a830df42cd437ccef2e (patch) | |
tree | 99883031052030fc5da413b9967a3741bd8a70d2 /src/data.c | |
parent | version: bump snapshot (diff) | |
download | wireguard-monolithic-historical-3130692343c13a8b3fc52a830df42cd437ccef2e.tar.xz wireguard-monolithic-historical-3130692343c13a8b3fc52a830df42cd437ccef2e.zip |
main: annotate init/exit functions to save memory
Diffstat (limited to 'src/data.c')
-rw-r--r-- | src/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ struct decryption_ctx { static struct kmem_cache *encryption_ctx_cache __read_mostly; static struct kmem_cache *decryption_ctx_cache __read_mostly; -int packet_init_data_caches(void) +int __init packet_init_data_caches(void) { encryption_ctx_cache = kmem_cache_create("wireguard_encryption_ctx", sizeof(struct encryption_ctx), 0, 0, NULL); if (!encryption_ctx_cache) |