summaryrefslogtreecommitdiffhomepage
path: root/src/noise.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/noise.h')
-rw-r--r--src/noise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/noise.h b/src/noise.h
index 2024b80..f6c68ea 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -49,7 +49,7 @@ struct noise_keypairs {
struct noise_keypair __rcu *current_keypair;
struct noise_keypair __rcu *previous_keypair;
struct noise_keypair __rcu *next_keypair;
- struct mutex keypair_update_lock;
+ spinlock_t keypair_update_lock;
};
struct noise_static_identity {