summaryrefslogtreecommitdiffstatshomepage
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c
index cf5a392..6cc6ce4 100644
--- a/src/data.c
+++ b/src/data.c
@@ -43,8 +43,8 @@ struct decryption_ctx {
};
#ifdef CONFIG_WIREGUARD_PARALLEL
-static struct kmem_cache *encryption_ctx_cache;
-static struct kmem_cache *decryption_ctx_cache;
+static struct kmem_cache *encryption_ctx_cache __read_mostly;
+static struct kmem_cache *decryption_ctx_cache __read_mostly;
int packet_init_data_caches(void)
{