projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b36648
)
Add missing rcu read lock
author
David Goulet
<david.goulet@polymtl.ca>
Wed, 30 Nov 2011 22:26:00 +0000
(17:26 -0500)
committer
David Goulet
<david.goulet@polymtl.ca>
Wed, 30 Nov 2011 22:26:00 +0000
(17:26 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/ust-app.c
patch
|
blob
|
blame
|
history
diff --git
a/lttng-sessiond/ust-app.c
b/lttng-sessiond/ust-app.c
index 7276cbb63755113512bfd97e69da8b945c66f0b7..12ac39404cfbbe46a483b0aa6e0659fe8d387a86 100644
(file)
--- a/
lttng-sessiond/ust-app.c
+++ b/
lttng-sessiond/ust-app.c
@@
-1136,7
+1136,9
@@
int create_ust_app_event(struct ust_app_session *ua_sess,
/* Create it on the tracer side */
ret = create_ust_event(app, ua_sess, ua_chan, ua_event);
if (ret < 0) {
+ rcu_read_lock();
delete_ust_app_event(app->key.sock, ua_event);
+ rcu_read_unlock();
goto error;
}
This page took
0.026587 seconds
and
4
git commands to generate.