Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7583849rwl; Tue, 10 Jan 2023 02:46:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXtbNHZxeHh+ckaAXmpBMa0DziS3XYbYbdi90UkGj73tWTdB2TUljc7N3d7DVV3wFZ8QqcXb X-Received: by 2002:a17:902:fe0c:b0:193:38b3:530d with SMTP id g12-20020a170902fe0c00b0019338b3530dmr4635529plj.36.1673347618479; Tue, 10 Jan 2023 02:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673347618; cv=none; d=google.com; s=arc-20160816; b=EbmzBCooDSxMnJ7++sJWxAfMLtTrraUCd2lbT0xYHF9yVa76N2N4kOT2Tccq4No64x wBXPxJUkOEuoZBcpU6nuEGQx7wxz1AU0y2vlKDKIspuEjjxxn2ufg0i90Pt+4ttd5j6L /MLwY+Yn28jTtHRAXbLNzeU5PLDugrgaFKOlSRfLiOQIVLpgCn2OFl7EnluyqR0eDuuR YskPPNdwmjhVJnVB7D0LiCf50Nh2sy5/MGarDfTe7Qsv8mfUS7bMQmimfpCT9MRPwNn/ rY1LnkhcNakgtCRantD45GUh2/oWuySqdToGSG1RiWmVUEJJEHc90+dbih0ZnoAHkfBm s/Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aiFnisuriGUHdPVGYVAEySHvlpOrRb82VEmP9J0q6qc=; b=Nf0fuMeEgbjyESyHkpOcq9AJ6MFmwPFa2/pxVJGtEcSk5Z1Nr5GRGVmkTztRGgee2p TpNNuIYMNmnORdft+NFHJYZWggzvGhYmW11uVamqRW3qnshxOxO6OoULrcQvQOt7cDP4 Ut2BfDB196VEiVIV1QumpD34cPWfKWvwiGvElqYO6XmlfVzpnjp+5uFU8rTo1hezjh7b oOeChLtdZYg+IoMKGwVNXR9sb9wGlCnHy6CAgcSUAY+O/84Oy/FD517++X5ryJTfw3Dh OKSxMqBLngdyA/5cmqWz+fbCnUHfwqk6SDBZyeCFf5rOLL95+8fm78illd7LTorK5hW8 IhWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Xvnd7/kM"; 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 a4-20020a170902ecc400b00189aab9cdbcsi11965579plh.605.2023.01.10.02.46.51; Tue, 10 Jan 2023 02:46:58 -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="Xvnd7/kM"; 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 S231609AbjAJK3O (ORCPT + 53 others); Tue, 10 Jan 2023 05:29:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229718AbjAJK3L (ORCPT ); Tue, 10 Jan 2023 05:29:11 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A3A1A38A; Tue, 10 Jan 2023 02:29:10 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 36018615B0; Tue, 10 Jan 2023 10:29:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C952DC433D2; Tue, 10 Jan 2023 10:29:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673346549; bh=z+0BWX2kSw+tuaITOB1eHSwdHQC4uPPD5XkVxlkUGcE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xvnd7/kMMmFAF/mj2qfSx6VD9KB+Yhlg3k64CZMR2hYqDu1UH1Nb4ANRqWMH5812d mNSu1Mc79/TZBTntC8/ZO7CFph59XtJGwnRwpo9dczyXDjamwUJ0yrXKNY965aMJ9n kNa0ans+gcBA8rUEnP+TnrRcTuC1Rf+H8jsNMLgWmim/dU7Lm98eyVy+UHR5n+geNS Ek1DDcmlXBnO0qiO6Z9YgY++obdAE9pi5pjuUdXV4P0dlaWaf5yJPCTVGELkGrMR+x biVCqzZmH8P5VeodR51KY0W1fcPtco5A3gmmQ2VM9NcCHmUG6J8sFYF+29eGEjuA8T ziM38v7FPU/rA== Date: Tue, 10 Jan 2023 12:29:04 +0200 From: Leon Romanovsky To: pabeni@redhat.com Cc: Hariprasad Kelam , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, sgoutham@marvell.com, gakula@marvell.com, sbhatta@marvell.com Subject: Re: [net PATCH] octeontx2-pf: Fix resource leakage in VF driver unbind Message-ID: References: <20230109061325.21395-1-hkelam@marvell.com> <167334601536.23804.3249818012090319433.git-patchwork-notify@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <167334601536.23804.3249818012090319433.git-patchwork-notify@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 On Tue, Jan 10, 2023 at 10:20:15AM +0000, patchwork-bot+netdevbpf@kernel.org wrote: > Hello: > > This patch was applied to netdev/net.git (master) > by Paolo Abeni : > > On Mon, 9 Jan 2023 11:43:25 +0530 you wrote: > > resources allocated like mcam entries to support the Ntuple feature > > and hash tables for the tc feature are not getting freed in driver > > unbind. This patch fixes the issue. > > > > Fixes: 2da489432747 ("octeontx2-pf: devlink params support to set mcam entry count") > > Signed-off-by: Hariprasad Kelam > > Signed-off-by: Sunil Kovvuri Goutham > > > > [...] > > Here is the summary with links: > - [net] octeontx2-pf: Fix resource leakage in VF driver unbind > https://git.kernel.org/netdev/net/c/53da7aec3298 Paolo, I don't think that this patch should be applied. It looks like wrong Fixes to me and I don't see clearly how structures were allocated on VF which were cleared in this patch. Thanks > > You are awesome, thank you! > -- > Deet-doot-dot, I am a bot. > https://korg.docs.kernel.org/patchwork/pwbot.html > >