Fix: ensure userspace accesses are done with _inatomic
[lttng-modules.git] / lttng-ring-buffer-client.h
index cf42e688eccf5364e4874fd3ab0f24d4634b6240..d5580dd808583a79bd3bdbbf66788abfde7fe511 100644 (file)
@@ -513,7 +513,7 @@ static
 void lttng_event_write_from_user(struct lib_ring_buffer_ctx *ctx,
                               const void __user *src, size_t len)
 {
-       lib_ring_buffer_copy_from_user(&client_config, ctx, src, len);
+       lib_ring_buffer_copy_from_user_inatomic(&client_config, ctx, src, len);
 }
 
 static
This page took 0.022627 seconds and 4 git commands to generate.