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 DE197C433F5 for ; Wed, 6 Apr 2022 15:42:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236582AbiDFPo4 (ORCPT ); Wed, 6 Apr 2022 11:44:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236427AbiDFPoK (ORCPT ); Wed, 6 Apr 2022 11:44:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B4124DFA8B; Wed, 6 Apr 2022 06:10:21 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 5C62260B90; Wed, 6 Apr 2022 13:10:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A4ADBC385A9; Wed, 6 Apr 2022 13:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649250613; bh=gj3LnrzDBuaBA3oZSCTUUn9xPtQQhfhC2uOBuoJ25XA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=LuhfRRhRfrFWQ0/fNsOfFJuB3enFBIVG+V18wgMH1txyXomZs3ixmBEy2dPw8S3vW i99J0sC/t9h1HBWsZ/RazKLguyNUK9XOgSi6nFGfqQdr7BJgYcyig+2VixvCjoeiY8 Y0K6pG1NlB72DSlmVKstA4lTv5ZPjixgnpNCo3O2XDeCebFTE0JdxHrlF+9e55yhKH nnykBZZPrxO7ANzBsltPvD1N1RQPrfjvU+MC+gUykp3GVBlLSQkjAVCM16NofsWfkS N/hb7tBPIcZKPu7DXPK/1EBzakb576kfl4/hoOpJfDwh1T1TdKDVoNsh1OrVvnaJsr VTCtcSp18Ux1w== 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 89A90E85DB6; Wed, 6 Apr 2022 13:10:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: openvswitch: fix leak of nested actions From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164925061356.5679.9687443822548515643.git-patchwork-notify@kernel.org> Date: Wed, 06 Apr 2022 13:10:13 +0000 References: <20220404154345.2980792-1-i.maximets@ovn.org> In-Reply-To: <20220404154345.2980792-1-i.maximets@ovn.org> To: Ilya Maximets Cc: netdev@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, dev@openvswitch.org, linux-kernel@vger.kernel.org, pabeni@redhat.com, pshelar@ovn.org, tgraf@suug.ch, stgraber@ubuntu.com 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 Mon, 4 Apr 2022 17:43:45 +0200 you wrote: > While parsing user-provided actions, openvswitch module may dynamically > allocate memory and store pointers in the internal copy of the actions. > So this memory has to be freed while destroying the actions. > > Currently there are only two such actions: ct() and set(). However, > there are many actions that can hold nested lists of actions and > ovs_nla_free_flow_actions() just jumps over them leaking the memory. > > [...] Here is the summary with links: - [net] net: openvswitch: fix leak of nested actions https://git.kernel.org/netdev/net/c/1f30fb9166d4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html