Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp47232imi; Wed, 20 Jul 2022 16:47:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vcYr7ncRmSHhYDZqnPNHfsaPWNBZDusQy9jRo/oJr06nQBgxuR++0vU8WXO89EoPuyjnq1 X-Received: by 2002:a17:907:a218:b0:72b:8aae:3f84 with SMTP id qp24-20020a170907a21800b0072b8aae3f84mr36800177ejc.367.1658360867067; Wed, 20 Jul 2022 16:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658360867; cv=none; d=google.com; s=arc-20160816; b=fbLE+t7yx5fjdHjsdb2yDVc7jY1ZCZURbmEah8Uv7fQDQrMYLe9RhS0vPwro9OZjlz 5PSNr46SQPPu1CgazbMkH8+XPZ5dKosmJvHhKbHt0XsvxGV0ysH+W/Np8RwB7AT3JBeq PNnK/3gg2axcNanNOGwvFgmGMLeqSHtbjzYLXDx2DsiohP2WZ4NXNadM+SCfzg4IFe12 1//3wqHYU0t5Y4HAMhKo2Wabk7ve69cSqjksRjKPgm1J/ufvVjZRugY7+bhbV47tPrx6 qW2hfUCYFNBqFUXLZmW3FWIQ3zOQYAjW7EHrrGqjWIPEY0Q0ZlppR7FPnUCkAHThArSu Ll5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=+UWeSISW9OQ4TLYR9zPVsbXaV1x1B31PEaaRzKB9Bjk=; b=nOurJoaUSGYO05z55UaolvSoZRpCwq93g+QtlhEgz2k9VuonkEXH7a42WBZ0qs1Siu cBkgMxMTBFPitt6tLraRXVjXZR7UqR5TqOu7VbAbvnpYPWwaxBIb4XcA5AoV8puWtDYk ASGs2AtU6p+tJRwbBvbtCloC9fgPEyHzji/0oVtmaHOstxsuXUNCBvo3VxID9cfexYYD TkfeUlCfEhCvTKRovTXSj0BQqIrjGtQCn44pYvQq0g9Y9VCNr285EuGKv5G2pZeM+eLj AAoEeIomWT0lm0lN24ly4uMypD7A3LGApDXp3E1xTQ42bliveldW55o9mXylZVlk+Y2R YnDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=MPIgyDhT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq28-20020a1709073f1c00b0072eda63453esi705848ejc.668.2022.07.20.16.47.22; Wed, 20 Jul 2022 16:47:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=MPIgyDhT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231851AbiGTXWA (ORCPT + 99 others); Wed, 20 Jul 2022 19:22:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231918AbiGTXVx (ORCPT ); Wed, 20 Jul 2022 19:21:53 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCD007437C; Wed, 20 Jul 2022 16:21:39 -0700 (PDT) Received: from [192.168.88.254] (unknown [125.160.97.11]) by gnuweeb.org (Postfix) with ESMTPSA id 3A88E7E317; Wed, 20 Jul 2022 23:21:37 +0000 (UTC) X-GW-Data: lPqxHiMPbJw1wb7CM9QUryAGzr0yq5atzVDdxTR0iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1658359299; bh=sWVuj0qahdrEIm9D7naDXpYUsd8yvFnG5YezMfbrd3o=; h=Date:To:Cc:From:Subject:From; b=MPIgyDhTtlMgL1qNNvrv3TDLMsr4mkC22n6kgjosRKJiSYLIBpBpaA3vDDkHzHCQ2 BbtrHTDAqaKceBctn16MImETeNTKrTpAFmOwb6w9pgOPae/kWu3aEK6wkdjyj8zhdD 4jkgGlYmqtv8Mv8c5wleMQjjC2zveLTYNio1HQLUrTzlfXiY35lKhC9aRVj4IBKvij EebDKiKjzDuw8bNrTcXaDc91J9I81Xh+9QctTNmarMXUovF9B/8onlK94WY7PJtNFe 3mlqyzh9lQV/N5WqHtFX6zambFENs4mTqqkI7qlO7GTPHvPrTogjke3jFL9EklTQqZ F+6Q0uJ1PDJ9w== Message-ID: <2709ed98-6459-70ea-50d4-f24b7278fb24@gnuweeb.org> Date: Thu, 21 Jul 2022 06:21:24 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: Jens Axboe Cc: Pavel Begunkov , Fernanda Ma'rouf , Linux Kernel Mailing List , io-uring Mailing List , GNU/Weeb Mailing List From: Ammar Faizi Subject: Linux 5.19-rc7 liburing test `poll-mshot-overflow.t` and `read-write.t` fail Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Jens, Kernel version: commit ff6992735ade75aae3e35d16b17da1008d753d28 Author: Linus Torvalds Date: Sun Jul 17 13:30:22 2022 -0700 Linux 5.19-rc7 liburing version: commit 4e6eec8bdea906fe5341c97aef96986d605004e9 (HEAD, origin/master, origin/HEAD) Author: Dylan Yudaken Date: Mon Jul 18 06:34:29 2022 -0700 fix io_uring_recvmsg_cmsg_nexthdr logic io_uring_recvmsg_cmsg_nexthdr was using the payload to delineate the end of the cmsg list, but really it needs to use whatever was returned by the kernel. Reported-and-tested-by: Jens Axboe Fixes: 874406f7fb09 ("add multishot recvmsg API") Signed-off-by: Dylan Yudaken Link: https://lore.kernel.org/r/20220718133429.726628-1-dylany@fb.com Signed-off-by: Jens Axboe Two liburing tests fail: Tests failed: make[1]: *** [Makefile:237: runtests] Error 1 make[1]: Leaving directory '/home/ammarfaizi2/app/liburing/test' make: *** [Makefile:21: runtests] Error 2 ammarfaizi2@integral2:~/app/liburing$ uname -a Linux integral2 5.19.0-rc7-2022-07-18 #1 SMP PREEMPT_DYNAMIC Mon Jul 18 15:42:27 WIB 2022 x86_64 x86_64 x86_64 GNU/Linux ammarfaizi2@integral2:~/app/liburing$ test/read-write.t cqe res -22, wanted 8192 test_buf_select vec failed ammarfaizi2@integral2:~/app/liburing$ test/poll-mshot-overflow.t signalled no more! ammarfaizi2@integral2:~/app/liburing$ JFYI, -22 is -EINVAL. read-write.t call trace when calling fprintf(..., "cqe res %d, wanted %d\n", ...): #0 ___fprintf_chk (./debug/fprintf_chk.c:25) #1 fprintf (/usr/include/x86_64-linux-gnu/bits/stdio2.h:105) #2 __test_io (read-write.c:181) #3 test_buf_select (read-write.c:577) #4 main (read-write.c:849) poll-mshot-overflow.t call trace should be trivial. -- Ammar Faizi