Skip to contentSkip to conversation

Fix: relayd: unbalanced RCU read lock/unlock

PATCH Jérémie Galarneau 1 participant 1 message Nov 27, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Merged all the way to 2.4, thanks!

Jérémie

Quoted 20 lines · Mathieu Desnoyers
---
 src/bin/lttng-relayd/main.c | 1 +
 1 file changed, 1 insertion(+)
src/bin/lttng-relayd/main.c +1 -1
index 03ea108..c9f2021 100644
@@ -2616,6 +2616,7 @@ restart:
 
                                if (revents & LPOLLIN) {
                                        if (conn->type != RELAY_DATA) {
+                                               rcu_read_unlock();
                                                continue;
                                        }
 
--

2.1.1

Signature · 8 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev