diff --git a/src/util/ringloop.cpp b/src/util/ringloop.cpp index 72810a73..f37d4727 100644 --- a/src/util/ringloop.cpp +++ b/src/util/ringloop.cpp @@ -120,7 +120,7 @@ void ring_loop_t::loop() if (mt) mu.lock(); struct ring_data_t *d = (struct ring_data_t*)cqe->user_data; - if (cqe->flags & IORING_CQE_F_MORE) + if ((cqe->flags & IORING_CQE_F_MORE) && cqe->res >= 0) { // There will be a second notification if (mt)