diff --git a/io_uring/net.c b/io_uring/net.c index 18507658a921..7f549be9abd1 100644 --- a/io_uring/net.c +++ b/io_uring/net.c @@ -748,6 +748,7 @@ static int io_recvmsg_prep_setup(struct io_kiocb *req) if (req->opcode == IORING_OP_RECV) { kmsg->msg.msg_name = NULL; kmsg->msg.msg_namelen = 0; + kmsg->msg.msg_inq = 0; kmsg->msg.msg_control = NULL; kmsg->msg.msg_get_inq = 1; kmsg->msg.msg_controllen = 0;