io_uring/net: don't overflow multishot accept
[platform/kernel/linux-starfive.git] / io_uring / net.c
index 00b4433..7245218 100644 (file)
@@ -1339,7 +1339,7 @@ retry:
 
        if (ret < 0)
                return ret;
-       if (io_post_aux_cqe(ctx, req->cqe.user_data, ret, IORING_CQE_F_MORE, true))
+       if (io_post_aux_cqe(ctx, req->cqe.user_data, ret, IORING_CQE_F_MORE, false))
                goto retry;
 
        return -ECANCELED;