Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp616493rwb; Wed, 7 Dec 2022 02:55:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf7/d8m4L4g97q0hAtKN+UIOtM9aETpz1IgUtexT07MrRs/YjBCvUYtN6bcXH1zIVP/COWHA X-Received: by 2002:a17:90a:6547:b0:213:d08f:a483 with SMTP id f7-20020a17090a654700b00213d08fa483mr96945067pjs.21.1670410519879; Wed, 07 Dec 2022 02:55:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670410519; cv=none; d=google.com; s=arc-20160816; b=V2e6dnS/1bxtUCZfeLP1kDYWYDpzomtrOahGXSwBzSAOjXU0anBqKJTwqh8y0Nk4fk hLGG/8eefCNiNmdYi/PgdEHrvauYAVSCNshW/Wa6nwMMHfp6l3+/CJvmTIJpzNszPdAy Dsh9C/HUlZ6pUXtjYga8oG/fAi3tc2VDriareZvi9LRVrT+Jd9N5aKmQdEBArHZf4JpL ILhdGTyDvNbh8aaMkcHtar0rMC8t6tSG7aQeHUarlfr6Oelnl9khxlHMN4sKDPjC69l9 JxYsoOQXB6JKVFO4fvddI2qLTdVslWpLNuHgvGSiKKJYMKmKrm2TDDVk3yUt6/MkW2dX sq5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=gM57tITuxK/GBpIPKlry68WPQuumhUap7TE/AmN1Ack=; b=oKA/+Ay0dZtxT0VPVMotCuaWWtuONhY95aaCkVJXffj4rJ9M8eZKv5XJItd0UEsdUM OKxirUEaZcj3SWIYysEjN6fsjCtHC9z/6MqpK8MyUyfoPn/vXGIUVtG+jxT/QXxJRh4M XUtPEklO48H4lkeN67sb+katMJ7vl/lyLs3c3GmD1W0wq5pBogFWUI7faX2RAnmEP17T 8+jgpDTcIJkplDSD8f7c+kQzQvyVRQCpwqZJxoT27/AKLE72ADNKC99gVBZ/dPG1Bzfm 4eZ75WxjCx93X3pOV5CXUtPkmMdVAg3BMoEmvAvR085HzCfZiENfg8PrsXWt/QHHmLMi wm4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W9z3faDx; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a65550b000000b0043cb43f584fsi19766394pgr.482.2022.12.07.02.55.09; Wed, 07 Dec 2022 02:55:19 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W9z3faDx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229775AbiLGKuY (ORCPT + 76 others); Wed, 7 Dec 2022 05:50:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbiLGKuU (ORCPT ); Wed, 7 Dec 2022 05:50:20 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D2DA30573; Wed, 7 Dec 2022 02:50:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EFE47B81CB5; Wed, 7 Dec 2022 10:50:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 8651AC43470; Wed, 7 Dec 2022 10:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670410216; bh=/kW6445rwnuRwZcjoCo1LqYjESGpH/B/P3RLt7ACfOs=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=W9z3faDxo1iWhfmFDP5e1pCFwfqEoMe+KldBJZ3fh64uRR/ZSCHJeRL82KeLpQ4LI +5lQppGkB1ZtVOMjH4osrZWOt4JPNRXOz5OJqbfei5gc4RWxOapz9g/RecBSh5Ym7v 6n3uqbiMUQcLuLyjaAjd3Ob9BYhKwxr3vAnjPn2KRXD4ZlMBfOErLRra67XgpxS7zq qIw1uJspUy1iiWvUjkKX+jkl/5G0LbZZ+Ico/pWJkoDI2/JbbLYrE0Eu4E0YBjgcKP 4nUG1McgtzkV/rm3SXB85Jt0TX1mwjgRxks9H7IU2nl2tW0RL0CFJ+PxQpOy7mEC9n iq8lzhyaAqAnw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 644E6C5C7C6; Wed, 7 Dec 2022 10:50:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] ethernet: aeroflex: fix potential skb leak in greth_init_rings() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <167041021640.1929.15406391616891179214.git-patchwork-notify@kernel.org> Date: Wed, 07 Dec 2022 10:50:16 +0000 References: <1670134149-29516-1-git-send-email-zhangchangzhong@huawei.com> In-Reply-To: <1670134149-29516-1-git-send-email-zhangchangzhong@huawei.com> To: Zhang Changzhong Cc: andreas@gaisler.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, kristoffer@gaisler.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hello: This patch was applied to netdev/net.git (master) by Paolo Abeni : On Sun, 4 Dec 2022 14:09:08 +0800 you wrote: > The greth_init_rings() function won't free the newly allocated skb when > dma_mapping_error() returns error, so add dev_kfree_skb() to fix it. > > Compile tested only. > > Fixes: d4c41139df6e ("net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver") > Signed-off-by: Zhang Changzhong > > [...] Here is the summary with links: - [net] ethernet: aeroflex: fix potential skb leak in greth_init_rings() https://git.kernel.org/netdev/net/c/063a932b64db You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html