projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: don't hide EBADF error subbuffer write
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.c
diff --git
a/src/common/consumer/consumer.c
b/src/common/consumer/consumer.c
index 7a7f7954be3c843df01bfea1af6d3c815e345773..efafeddbc3543e0d26c5cd2f66f046663c5b8572 100644
(file)
--- a/
src/common/consumer/consumer.c
+++ b/
src/common/consumer/consumer.c
@@
-1856,7
+1856,7
@@
ssize_t lttng_consumer_on_read_subbuffer_mmap(
relayd_hang_up = 1;
/* Socket operation failed. We consider the relayd dead */
relayd_hang_up = 1;
/* Socket operation failed. We consider the relayd dead */
- if (errno == EPIPE
|| errno == EINVAL || errno == EBADF
) {
+ if (errno == EPIPE) {
/*
* This is possible if the fd is closed on the other side
* (outfd) or any write problem. It can be verbose a bit for a
/*
* This is possible if the fd is closed on the other side
* (outfd) or any write problem. It can be verbose a bit for a
This page took
0.024596 seconds
and
4
git commands to generate.