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 D6DA2C6FA82 for ; Thu, 22 Sep 2022 14:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229805AbiIVOUV (ORCPT ); Thu, 22 Sep 2022 10:20:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230335AbiIVOUS (ORCPT ); Thu, 22 Sep 2022 10:20:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34AF83051; Thu, 22 Sep 2022 07:20:17 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 8E066B8378E; Thu, 22 Sep 2022 14:20:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3B593C433D6; Thu, 22 Sep 2022 14:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663856415; bh=Z5KklAxJJjnZ2bt/Zb2GDJC3FTImU2unFl2S6/hePIY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=lq12is0of7Ve3Jk4KC1OuR0ZShoYkMbjNoZOpGQU3IXo6IQaPDmwKY/sqIH6jLvlt kySQn3mU3Pu0OWqKHBIDisbIN7Zbz/bQFI8+pL2dsv0bqOT4gDV7Qo8XgoaZfbsiZL /SDNUZJBRKb/vDLcl8lyXoYeCLzuidrBm4SqX1Nmp2tXZABPPFMjljvyOxm/DWMRmc 5/VlNPVaaEzTJUg1pPRflj35WrEOsXJCiubhXW5K7enP7vrK1vdQUiZNklFYZNboN0 cKZokey6aMXyBcXHAg9F5rHooBWdHni+Lzr11A5fAXjBBKbBWbVYErWZJVJFqLJowf pFUt0rP0e0+Vg== 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 1ADB6E4D03D; Thu, 22 Sep 2022 14:20:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net: sched: fix possible refcount leak in tc_new_tfilter() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166385641510.9882.16423342832094915476.git-patchwork-notify@kernel.org> Date: Thu, 22 Sep 2022 14:20:15 +0000 References: <20220921092734.31700-1-hbh25y@gmail.com> In-Reply-To: <20220921092734.31700-1-hbh25y@gmail.com> To: Hangyu Hua Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, vladbu@mellanox.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, vladbu@nvidia.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Wed, 21 Sep 2022 17:27:34 +0800 you wrote: > tfilter_put need to be called to put the refount got by tp->ops->get to > avoid possible refcount leak when chain->tmplt_ops != NULL and > chain->tmplt_ops != tp->ops. > > Fixes: 7d5509fa0d3d ("net: sched: extend proto ops with 'put' callback") > Signed-off-by: Hangyu Hua > Reviewed-by: Vlad Buslov > > [...] Here is the summary with links: - [v2] net: sched: fix possible refcount leak in tc_new_tfilter() https://git.kernel.org/netdev/net/c/c2e1cfefcac3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html