X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.c;h=5e723e9b3804e08335d3e16758486899ec79f83e;hb=1aabd7d398ed9db96c8a1439917a8511aeb3dce0;hp=ced965dee34aa435828eb7484aa8d058d56bb4d3;hpb=564d32178e31dc4da50d0ca511df5674d37a5782;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/consumer.c b/src/bin/lttng-sessiond/consumer.c index ced965dee..5e723e9b3 100644 --- a/src/bin/lttng-sessiond/consumer.c +++ b/src/bin/lttng-sessiond/consumer.c @@ -992,6 +992,8 @@ error: /* * Send relayd socket to consumer associated with a session name. * + * The consumer socket lock must be held by the caller. + * * On success return positive value. On error, negative value. */ int consumer_send_relayd_socket(struct consumer_socket *consumer_sock,