Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6271856rwb; Tue, 22 Nov 2022 10:59:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf7hfoRfFBqe/gZ4APJ5U06l6tiMNsn5bCzSTk//F57KIRM0Z4ZxzYHSA/xWD1vVvPyWkZlZ X-Received: by 2002:a62:b501:0:b0:573:1959:c356 with SMTP id y1-20020a62b501000000b005731959c356mr6142183pfe.51.1669143589067; Tue, 22 Nov 2022 10:59:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669143589; cv=none; d=google.com; s=arc-20160816; b=kTSpiy7koO6n2MWnDQGR1Otz2JRo8kNXIjiqWEyHSz1t+nXPl+vdoKHWDQX3Vw/mxo m41tbpYaATU2ECKh+ZfhcWfCIunDlsdzDRuK8WXDpGTkvojZ38EIzKAiwOvQh3h43EDJ lDwjS7rX/VK3xDwBc7LACF3QrpCOVwxhNgxziO3ZFBpCqXkOljqlGTFgMW2UgGFwVgSJ nvIGx7vu3G3MbFZePbP2s3eTQzQr1hPTs4QQfUccxBbCIOJz2NP+TjJhsW2OcnmiPv/X ozHyniz1egfgS/iFYPDkNiqly8vye4BAUCydevasbC8ETJFp8mSVP9BX6YDbY9P+eZ9y o5eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:to:from:date; bh=cmE5sA4j2PJ1YvpDrQwqh21gEX4ATPnsTmsP0A/FGII=; b=EL/+OAQF/FgxYjYMGKHq+mpRUEkw0IcgKh0KLKbPOeCIVdJ+SjUmmFrDC/SEv9Mv9H lhL11R+hqhKHvJlhvRaG/VWaLuqX2kz7SYpHSO52znD4u2zphLJ2xORmaJPSRN7ykL0N 7kCi/SxM3aLRaDw4U/dqT6Ggm0PzCGb/JlK2TjzylsFqE3gUgBRUsDO+uiE26e6+erMM Pddn0TO2NFgOsODId8kj42B8j4RJKjvM7WGdORPrd+g1K/oEenuf5DF+QSKpY7Xt+l+w abw/+B55GCqSA2Z5sKYPmAyhs4iRb/smRi0jm02PX6XHtaCoYIZw3ckyeWuEBFdBZOJ8 jv0g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a170902c40800b00188763b35e1si10839646plk.424.2022.11.22.10.59.31; Tue, 22 Nov 2022 10:59:49 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233081AbiKVSk0 (ORCPT + 90 others); Tue, 22 Nov 2022 13:40:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234415AbiKVSkX (ORCPT ); Tue, 22 Nov 2022 13:40:23 -0500 Received: from zju.edu.cn (spam.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD8B17FF01; Tue, 22 Nov 2022 10:40:18 -0800 (PST) Received: by ajax-webmail-mail-app4 (Coremail) ; Wed, 23 Nov 2022 02:40:15 +0800 (GMT+08:00) X-Originating-IP: [10.192.27.165] Date: Wed, 23 Nov 2022 02:40:15 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: axboe@kernel.dk, asml.silence@gmail.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] io_uring/filetable: fix file reference underflow X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210104(ab8c30b6) Copyright (c) 2002-2022 www.mailtech.cn zju.edu.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: X-Coremail-Locale: en_US X-CM-TRANSID: cS_KCgA3OMyQF31jqjpFCA--.49693W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwQRElNG3I7oMgANsU X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW3Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 VGhlcmUgaXMgYW4gaW50ZXJlc3RpbmcgcmVmZXJlbmNlIGJ1ZyB3aGVuIC1FTk9NRU0gb2NjdXJz IGluIGNhbGxpbmcgb2YKaW9faW5zdGFsbF9maXhlZF9maWxlKCkuIEtBU2FuIHJlcG9ydCBsaWtl IGJlbG93OgoKWyAgIDE0LjA1NzEzMV0gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClsgICAxNC4wNTkxNjFdIEJVRzogS0FT QU46IHVzZS1hZnRlci1mcmVlIGluIHVuaXhfZ2V0X3NvY2tldCsweDEwLzB4OTAKWyAgIDE0LjA2 MDk3NV0gUmVhZCBvZiBzaXplIDggYXQgYWRkciBmZmZmODg4MDBiMDljZjIwIGJ5IHRhc2sga3dv cmtlci91ODoyLzQ1ClsgICAxNC4wNjI2ODRdClsgICAxNC4wNjI3NjhdIEN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