X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.c;h=7c8f4e83093590e61ac4d4e565d8d0bc9ba7b5f1;hb=c8f690f85a292e7678c480e2a5dca80b4dd80f79;hp=826ec35667b1bc88a4acffcf34ed300fc52de2d9;hpb=5de4a1f42c530603b080a451b6c5c2c956172e34;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/consumer.c b/src/bin/lttng-sessiond/consumer.c index 826ec3566..7c8f4e830 100644 --- a/src/bin/lttng-sessiond/consumer.c +++ b/src/bin/lttng-sessiond/consumer.c @@ -987,6 +987,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,