[lttng-dev] [PATCH lttng-tools] Fix: relayd: unbalanced RCU read lock/unlock

Jérémie Galarneau jeremie.galarneau at efficios.com
Thu Nov 27 17:33:15 EST 2014


Merged all the way to 2.4, thanks!

Jérémie

On Fri, Nov 21, 2014 at 12:42 PM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> wrote:
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> ---
>  src/bin/lttng-relayd/main.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c
> index 03ea108..c9f2021 100644
> --- a/src/bin/lttng-relayd/main.c
> +++ b/src/bin/lttng-relayd/main.c
> @@ -2616,6 +2616,7 @@ restart:
>
>                                 if (revents & LPOLLIN) {
>                                         if (conn->type != RELAY_DATA) {
> +                                               rcu_read_unlock();
>                                                 continue;
>                                         }
>
> --
> 2.1.1
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list