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