--- libev/ev_iouring.c 2019/12/28 07:58:51 1.19 +++ libev/ev_iouring.c 2019/12/28 08:11:20 1.20 @@ -458,6 +458,7 @@ struct io_uring_sqe *sqe = iouring_sqe_get (EV_A); sqe->opcode = IORING_OP_POLL_ADD; sqe->fd = fd; + sqe->addr = 0; sqe->user_data = (uint32_t)fd | ((__u64)(uint32_t)anfds [fd].egen << 32); sqe->poll_events = (nev & EV_READ ? POLLIN : 0) @@ -518,7 +519,6 @@ if (ecb_expect_false (res < 0)) { /*TODO: EINVAL handling (was something failed with this fd)*/ - /*TODO: EBUSY happens when?*/ if (res == -EBADF) {