From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8594EB64D9 for ; Thu, 15 Jun 2023 22:10:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YCVrDHBslWvT75Jv8/dad6e/Ju8cxsAhTbAnMy4ru88=; b=bWQiE/LXfEwtZs 6GnMaIFbJFqDr1I7dGo5AvDf4Ld3dfVVD/05dRQYuyc93WEWbU8fAUaeMsItK8b86LEfwkWU8xPMJ h9NH3RKWaTudxf6SFOD1uE1NyWTxroTVWTGfrDiZjp9cDmODQaw05ekRXoYPHuIyvn8XyEg4T95gw SI8LUczYWe7UlwdsqfKfiqKi/tYVXov2WPFz5Wj+Zt5B4weiwp11RQU2D1UTEu9CBKcs/mssTAWfh Ee7rL1LNCVSm1oNM21DLkI0HUtYr+22nnw0GyAXDmuSBeo2/dBUvbNraF8KuhWkuZbZBstajZ5RHk mpq6o8U3/pvGJpAiIfGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9vAg-00GDjY-0e; Thu, 15 Jun 2023 22:10:26 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9vAc-00GDiS-2c for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2023 22:10:24 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D472461F0D; Thu, 15 Jun 2023 22:10:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3357EC433C8; Thu, 15 Jun 2023 22:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686867021; bh=RZLiGCH1qdhSMndwaQxQgDZRZGsdxP72mh/YBckc+GE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qbUPrEIeR7rEjexBT3bhE+02gQShNouW6O5TIA6hL+zl2aeFYq4ejKA/eUpTsziWD 78saCJANrcB2oMSAVF/qvScR7iIDkoZ5h305SZcEZEp81p8sCnc2GDFalPItZcyGgj HtIJZGAlqhmLBtQUbJ2mhBSy2gdxDG7fn1eliGOdtyPsIKb89neKaJinsiwxauaQsi 7ezLQOOKnbkJG0rDp4qsHur4u/Jx86GFJRl2vprbOyOrYqfGEtXHEB6KDBARhQABMK dBlj3Xc6fyKKbDoOxFzLDWakKe1D8RhK5HXOYKdtaV91Ngik1sYbmfJ7aTkR6GIv8N nvTgI84VYC8Vg== 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 0C8B0C3274B; Thu, 15 Jun 2023 22:10:21 +0000 (UTC) MIME-Version: 1.0 Subject: Re: [net PATCH v2] net: ethernet: stmicro: stmmac: fix possible memory leak in __stmmac_open From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168686702104.9701.257014821594710577.git-patchwork-notify@kernel.org> Date: Thu, 15 Jun 2023 22:10:21 +0000 References: <20230614091714.15912-1-ansuelsmth@gmail.com> In-Reply-To: <20230614091714.15912-1-ansuelsmth@gmail.com> To: Christian Marangi Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, mcoquelin.stm32@gmail.com, linux@armlinux.org.uk, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jose.Abreu@synopsys.com, stable@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230615_151022_925188_AF9ABB27 X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Wed, 14 Jun 2023 11:17:14 +0200 you wrote: > Fix a possible memory leak in __stmmac_open when stmmac_init_phy fails. > It's also needed to free everything allocated by stmmac_setup_dma_desc > and not just the dma_conf struct. > > Drop free_dma_desc_resources from __stmmac_open and correctly call > free_dma_desc_resources on each user of __stmmac_open on error. > > [...] Here is the summary with links: - [net,v2] net: ethernet: stmicro: stmmac: fix possible memory leak in __stmmac_open https://git.kernel.org/netdev/net/c/30134b7c47bd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel