Fix: Remove LPOLLNVAL from consumer metadata revents
[lttng-tools.git] / src / common / consumer.c
index 16a6c47f4269e4ad9155ba5d242a5e99ed0c8805..72c820d90a11ec11d61e2e9024cb8f44f1ad009e 100644 (file)
@@ -1696,7 +1696,7 @@ restart:
 
                        /* Check the metadata pipe for incoming metadata. */
                        if (pollfd == ctx->consumer_metadata_pipe[0]) {
-                               if (revents & (LPOLLERR | LPOLLHUP | LPOLLNVAL)) {
+                               if (revents & (LPOLLERR | LPOLLHUP )) {
                                        DBG("Metadata thread pipe hung up");
                                        /*
                                         * Remove the pipe from the poll set and continue the loop
@@ -1776,7 +1776,7 @@ restart:
                         * Remove the stream from the hash table since there is no data
                         * left on the fd because we previously did a read on the buffer.
                         */
-                       if (revents & (LPOLLERR | LPOLLHUP | LPOLLNVAL)) {
+                       if (revents & (LPOLLERR | LPOLLHUP)) {
                                DBG("Metadata fd %d is hup|err|nval.", pollfd);
                                if (!stream->hangup_flush_done
                                                && (consumer_data.type == LTTNG_CONSUMER32_UST
This page took 0.031187 seconds and 4 git commands to generate.