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 B1AD3C4332F for ; Fri, 9 Dec 2022 11:01:23 +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=qsZ5NiqDgXA7SJsQ1gC5Xoq5Yo/N9LErpzc68UL9iDU=; b=H9FX4DUMJ0rKXd cpUihp7tW6xwj40TXrUZN9N8biHMuuJpw4it97EAVFBx2PcHlKd6CgFC7EexHDVjKo6AHS7jXQb8M rNmX2wBSkwBN4ri11wVkvbgKUkJt4u6Siy8DYGIOONNaxROJvTTxHGynAWCZiN8x20J+rCkTUfVSt AM2BeB2cmHv00Dm+Uy89ic1M7Tog5BxkpxgOuZJX+wOfH2GbjCE/rhcRktlqIyrLdLQ0XEH6gXwxl 2l91cqCvzUDgOSev3Zbgk44+ies5zz169BxZ69gr7fiMf86i4PXvKc/jvMTar3Q2Nf+1YbuZSOTXR C04HuqvFiwSDGVD9KKtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3b77-006xX1-Um; Fri, 09 Dec 2022 11:00:22 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3b73-006xQp-UJ for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2022 11:00:19 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 116AB62211; Fri, 9 Dec 2022 11:00:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 70FE4C43392; Fri, 9 Dec 2022 11:00:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670583616; bh=0NWOume5v1ZpkeFfqBb0Axg7sceeXJuKJlhRzJ4rwHE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=nPPrEEcJF2riSnHvi3FgSdJhg5wnqOqAE8izqKoZ4XwBwsmj4AnHTQhlIr52PM0i8 mVtvVA10wdSs0PYlMicwvOhmUVLQ67CCxOwY/1W62k77+suVYlLsi3Fox6NTwBFzZ0 aEZFB1LgpiG9RZxDdhaGp13HjRWepNvgwNLmgZ9XrklDxCAltuzRJKljYarje9hMsC Q538kvlAqswtXHorZjpWTxOmCpEGvscNw5GA8sOD7sHnuiv8o1DD+lt06R2rryuiGe hXj4sxg13DBPR96WPhjQVvi50lHC/FfOFAbeTx2nkc5+uNEh5ImvakGJVTZN+luWFG zspAhXyqw9v0A== 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 57F46C41612; Fri, 9 Dec 2022 11:00:16 +0000 (UTC) MIME-Version: 1.0 Subject: Re: [PATCH net] net: stmmac: fix possible memory leak in stmmac_dvr_probe() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <167058361635.21061.2629319765403507972.git-patchwork-notify@kernel.org> Date: Fri, 09 Dec 2022 11:00:16 +0000 References: <20221207083413.1758113-1-cuigaosheng1@huawei.com> In-Reply-To: <20221207083413.1758113-1-cuigaosheng1@huawei.com> To: Gaosheng Cui 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, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, boon.leong.ong@intel.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221209_030018_062711_087887D0 X-CRM114-Status: GOOD ( 10.40 ) 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 (master) by David S. Miller : On Wed, 7 Dec 2022 16:34:13 +0800 you wrote: > The bitmap_free() should be called to free priv->af_xdp_zc_qps > when create_singlethread_workqueue() fails, otherwise there will > be a memory leak, so we add the err path error_wq_init to fix it. > > Fixes: bba2556efad6 ("net: stmmac: Enable RX via AF_XDP zero-copy") > Signed-off-by: Gaosheng Cui > > [...] Here is the summary with links: - [net] net: stmmac: fix possible memory leak in stmmac_dvr_probe() https://git.kernel.org/netdev/net/c/a137f3f27f92 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 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 774CAC4332F for ; Fri, 9 Dec 2022 11:00:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiLILAX (ORCPT ); Fri, 9 Dec 2022 06:00:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229894AbiLILAV (ORCPT ); Fri, 9 Dec 2022 06:00:21 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA0AC4AF3B for ; Fri, 9 Dec 2022 03:00: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 sin.source.kernel.org (Postfix) with ESMTPS id 41611CE2938 for ; Fri, 9 Dec 2022 11:00:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 70FE4C43392; Fri, 9 Dec 2022 11:00:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670583616; bh=0NWOume5v1ZpkeFfqBb0Axg7sceeXJuKJlhRzJ4rwHE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=nPPrEEcJF2riSnHvi3FgSdJhg5wnqOqAE8izqKoZ4XwBwsmj4AnHTQhlIr52PM0i8 mVtvVA10wdSs0PYlMicwvOhmUVLQ67CCxOwY/1W62k77+suVYlLsi3Fox6NTwBFzZ0 aEZFB1LgpiG9RZxDdhaGp13HjRWepNvgwNLmgZ9XrklDxCAltuzRJKljYarje9hMsC Q538kvlAqswtXHorZjpWTxOmCpEGvscNw5GA8sOD7sHnuiv8o1DD+lt06R2rryuiGe hXj4sxg13DBPR96WPhjQVvi50lHC/FfOFAbeTx2nkc5+uNEh5ImvakGJVTZN+luWFG zspAhXyqw9v0A== 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 57F46C41612; Fri, 9 Dec 2022 11:00:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: stmmac: fix possible memory leak in stmmac_dvr_probe() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <167058361635.21061.2629319765403507972.git-patchwork-notify@kernel.org> Date: Fri, 09 Dec 2022 11:00:16 +0000 References: <20221207083413.1758113-1-cuigaosheng1@huawei.com> In-Reply-To: <20221207083413.1758113-1-cuigaosheng1@huawei.com> To: Gaosheng Cui 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, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, boon.leong.ong@intel.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Wed, 7 Dec 2022 16:34:13 +0800 you wrote: > The bitmap_free() should be called to free priv->af_xdp_zc_qps > when create_singlethread_workqueue() fails, otherwise there will > be a memory leak, so we add the err path error_wq_init to fix it. > > Fixes: bba2556efad6 ("net: stmmac: Enable RX via AF_XDP zero-copy") > Signed-off-by: Gaosheng Cui > > [...] Here is the summary with links: - [net] net: stmmac: fix possible memory leak in stmmac_dvr_probe() https://git.kernel.org/netdev/net/c/a137f3f27f92 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html