projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ust: app stuck on recv message during UST comm timeout scenario
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.c
diff --git
a/src/bin/lttng-sessiond/ust-app.c
b/src/bin/lttng-sessiond/ust-app.c
index c03884405c7e021480aa3fdb7d63a3fc12a71c1a..8305f7efee77ef9ce5ac81f0e762a95e7189e205 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.c
+++ b/
src/bin/lttng-sessiond/ust-app.c
@@
-5523,7
+5523,7
@@
static int reply_ust_register_channel(int sock, int cobjd,
if (!app) {
DBG("Application socket %d is being torn down. Abort event notify",
sock);
if (!app) {
DBG("Application socket %d is being torn down. Abort event notify",
sock);
- ret =
0
;
+ ret =
-1
;
goto error_rcu_unlock;
}
goto error_rcu_unlock;
}
@@
-5644,7
+5644,7
@@
static int add_event_ust_registry(int sock, int sobjd, int cobjd, char *name,
if (!app) {
DBG("Application socket %d is being torn down. Abort event notify",
sock);
if (!app) {
DBG("Application socket %d is being torn down. Abort event notify",
sock);
- ret =
0
;
+ ret =
-1
;
goto error_rcu_unlock;
}
goto error_rcu_unlock;
}
@@
-5750,6
+5750,7
@@
static int add_enum_ust_registry(int sock, int sobjd, char *name,
DBG("Application socket %d is being torn down. Aborting enum registration",
sock);
free(entries);
DBG("Application socket %d is being torn down. Aborting enum registration",
sock);
free(entries);
+ ret = -1;
goto error_rcu_unlock;
}
goto error_rcu_unlock;
}
This page took
0.024296 seconds
and
4
git commands to generate.