From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 291F71DB92C for ; Sun, 21 Jun 2026 21:40:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782078021; cv=none; b=L7RbafYVdBD1Ghift6QWzwW/BvtPnkRg2miD4qkqam8uM7Tr6kaOj4XrV3LxcvzdcSGGuAF7rpwvz4KCwZULGpkj4MwrsAt+pbxYBQTGBYuIfEzgo21Fx9lKhUlr8Su23SNsroX6P9WHxIejnpx11H4dHIdbhE9uEz+R9mJLJMM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782078021; c=relaxed/simple; bh=EOKoGpe9S/y70SBxt6sT7i9M0hkdYyekOw9nQTpeTMI=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=qMRIxoyNZcqW9Q1jIl2Ha+kBC7ILISz/koOPRY70xEogCvohKTjIs+5QXez3BOXjBQhSDXkbYOWC033u9YH38ru4CwY8XouBl/waHaKT2mEwKK2v7bkyo/d7Z7OW8ELfXRTgzYqBuW7g20SbSq9NJm/+HCZOFhcZJ1+1bPHGQ88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=g5tLnUSL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g5tLnUSL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C95721F000E9; Sun, 21 Jun 2026 21:40:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782078019; bh=dlhG6VVL7e735uRZLwmq98hxfSpDNi0y5BfFxqio2bA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=g5tLnUSLVvAqXwiw9rKtczs152mWsRC3zISrtZI+zsHJyilqlS6HlaS9OuCtaDbH8 RzzxRvfmDyjxbHSDM6Uln4KVBknpegvqPB7BpEfDCo2BFRIxQvCsPDdZCDac0xSwsL SXyRp7be76av0rQzm7ZPUMBvcSEb5mzS4Z7MIVHpv5LqOAHOeiIZbuO2gQeCv63pVL x6MCRC9fqLOJROd+48Lr9Ip0st0DgfWtQhm+jcCFELB7l6xPwujM+84CkvQp71IpXw Cq/0XICyEcquqgenXhjbeJC8j+SqPULoO0M0BYvexqoKGykFcaXouncGy5zkpf7815 W2vOm5Br/sw7w== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 568D93AAA6E4; Sun, 21 Jun 2026 21:40:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: ethernet: mtk_ppe: Fix rhashtable leak in mtk_ppe_init error paths From: patchwork-bot+netdevbpf@kernel.org Message-Id: <178207801105.510072.2195645518730276699.git-patchwork-notify@kernel.org> Date: Sun, 21 Jun 2026 21:40:11 +0000 References: <178167550101.2217645.14579307712717502425@gmail.com> In-Reply-To: <178167550101.2217645.14579307712717502425@gmail.com> To: Wayen Yan Cc: netdev@vger.kernel.org, lorenzo@kernel.org, horms@kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, andrew+netdev@lunn.ch, angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Wed, 17 Jun 2026 13:48:13 +0800 you wrote: > In mtk_ppe_init(), when accounting is enabled, the error paths for > dmam_alloc_coherent(mib) and devm_kzalloc(acct) failures return NULL > directly, bypassing the err_free_l2_flows label that destroys the > rhashtable initialized earlier. > > While this leak only occurs during probe (not runtime) and the leaked > memory is minimal (an empty rhash table), fixing it ensures proper > error path cleanup consistency. > > [...] Here is the summary with links: - [net] net: ethernet: mtk_ppe: Fix rhashtable leak in mtk_ppe_init error paths https://git.kernel.org/netdev/net/c/41782770be56 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html