Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp618552imi; Thu, 21 Jul 2022 07:44:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vz1GcfvX3S2Czlxd2J5QnexJUXk4ET8s5l8A6HBx2H+nmVP8geImEbl/CaGDpc2ii06YEd X-Received: by 2002:a17:90a:cf85:b0:1f2:297c:b4a4 with SMTP id i5-20020a17090acf8500b001f2297cb4a4mr5784679pju.109.1658414651043; Thu, 21 Jul 2022 07:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658414651; cv=none; d=google.com; s=arc-20160816; b=dkHWD/z8peWno2FwrmR4NiEyUfz5zgbbNXc2UMbV/MAFavZZC90ORlI/uqEYkwfqg/ 3EODUjeRIZ8+AcIt4DhT9IwCS7SZt0mFXeY42ZMioRBqXqWDrve9jZO96QYuOHex7QyV 4CxZvu3mx0mzy0y7DY5IPKbkBJC55I9HCDgcVIFIxeLNtAXYaiAYRqpbUVdFXegNHrFb d88R5UxJMLS4o78620Ji4cTkUtxvjEQCVbJ76WjyLoNtcIODze3HOK2GkqBkrFwfx7U5 9NjAxHEup+aOVc2RCkjU0DWPHmhY7ldl/CwOFwAkb/8CMkqZe9aloqYSUiiPfQjZwONA ZsYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=dv5Xa3sw79SKXhsKD0ky5VXyt/Mi380ArH09DvLLu8Y=; b=FDUYyjfjFKteYVoL6co1B8FuzSRrwt/3Jk7ohibMeeKk5I1aPrjlgMYFydjUvyTBb9 IsyG/rOE1JauRTYZvFkVuwYhU519+WxFJ4A24+wW1zPxrEb6jMs79pCoHJ+SnX2cm/+e 7ru+kmJ7vjrQv4hJ+vRRQwXIOYwRtVexi8GOnILZlBOz9ng0XOHnbkgmHgwnEEXCuqoc bVOtiv+H/LhAYMuLEUxR2EBxkuQeRMw6uTsvWrExKEvnJbYVqJ0Sm1FbeuVP6kT/Brw4 hZ3+aLDjK2rAJvbHKqn+VkmfZFsVQZhqgY8/Y5FrYnoETqZE6X2xLAhx5diuyZXvxxuj TRzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=1C7Jn5oE; 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 t8-20020a170902e84800b0016bf25b2e72si2645744plg.64.2022.07.21.07.43.56; Thu, 21 Jul 2022 07:44:11 -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=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=1C7Jn5oE; 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 S232169AbiGUO3n (ORCPT + 99 others); Thu, 21 Jul 2022 10:29:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232142AbiGUO3k (ORCPT ); Thu, 21 Jul 2022 10:29:40 -0400 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C238484EED for ; Thu, 21 Jul 2022 07:29:37 -0700 (PDT) Received: by mail-il1-x12e.google.com with SMTP id u19so872133ilk.7 for ; Thu, 21 Jul 2022 07:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:in-reply-to:references:subject:message-id:date :mime-version:content-transfer-encoding; bh=dv5Xa3sw79SKXhsKD0ky5VXyt/Mi380ArH09DvLLu8Y=; b=1C7Jn5oEOCUSUrknL+Aia81kMhNerZHzhQ/ugPmRb8IiJ5sklVKgQ9M98aigtTU8yN eywP/b4dHJfbilEyHZ2I2bNQCoGbB/ZU9rvnjfV715QEnkPCDhcQQWw+Gr2aZD4Ju+Az IbbWFbc6LRNXamSm3AQF3DUjsg1bqFN9rnpbOFH9wYMMF3qtxexCnbedtPVP669T5c3G 5HdbSYo/kPzxiEU/LNQdVFJ3noo+IidPjjwI9kxF28yChhJB3plcD9LCDBblmaMlH4uY soFq+1tTkfNLFdBSr9fQqSYHvga/CJRhL5ePJZZaFsxRHdctPHetRfaNaetbiWhLiRa5 zDNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject :message-id:date:mime-version:content-transfer-encoding; bh=dv5Xa3sw79SKXhsKD0ky5VXyt/Mi380ArH09DvLLu8Y=; b=66S7bQ9mHGscaoOuYKVp2pQtZwryXd0kRtHAEATQCAzW5Hs7Ik+0/zy+saAk+g8S9r 3jdUyfS4EuL3pj/L3bYE/2qiEIuGv92TOgDFAYGGl7zdoMjtk41KgZ5VV43TJszLpLlw XWYOo0xl/pdlyT+dpgH1r8rx5Q71f2cRoIXvor4lTDKSXpqlTa4x9gjZrcEG3Gougf/X sTiUmqd64MpUKBoutK7iMwMnV2r9fl8SRjH8tc8DWzjSnwhyfVLSDDMhMrzGqcN4qXuF BqJxxEBLa+weVUWO7eLdrxNBkxaItsj/xlo40+Ez7aj3A9agKEt2cSh7lFLn/yL7v7xA ZYHw== X-Gm-Message-State: AJIora9har6q1Peb6h4asbCI6hjhtNX4Fx+x1PeRzvKv5Tphhv85oVSE rp/6mWTIDJrbgvPUC2Jr7e+jow== X-Received: by 2002:a05:6e02:152a:b0:2dc:3984:196e with SMTP id i10-20020a056e02152a00b002dc3984196emr20553813ilu.228.1658413777054; Thu, 21 Jul 2022 07:29:37 -0700 (PDT) Received: from [127.0.1.1] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id a18-20020a92c712000000b002dd16300beasm381381ilp.51.2022.07.21.07.29.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 07:29:36 -0700 (PDT) From: Jens Axboe To: io-uring@vger.kernel.org, dylany@fb.com, asml.silence@gmail.com Cc: Kernel-team@fb.com, linux-kernel@vger.kernel.org, mail.dipanjan.das@gmail.com In-Reply-To: <20220721110115.3964104-1-dylany@fb.com> References: <20220721110115.3964104-1-dylany@fb.com> Subject: Re: [PATCH] io_uring: fix free of unallocated buffer list Message-Id: <165841377614.7746.5269980516216984960.b4-ty@kernel.dk> Date: Thu, 21 Jul 2022 08:29:36 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 On Thu, 21 Jul 2022 04:01:15 -0700, Dylan Yudaken wrote: > in the error path of io_register_pbuf_ring, only free bl if it was > allocated. > > Applied, thanks! [1/1] io_uring: fix free of unallocated buffer list commit: ec8516f3b7c40ba7050e6b3a32467e9de451ecdf Best regards, -- Jens Axboe