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 52F7CC0015E for ; Thu, 27 Jul 2023 10:10:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233175AbjG0KKZ (ORCPT ); Thu, 27 Jul 2023 06:10:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbjG0KKX (ORCPT ); Thu, 27 Jul 2023 06:10:23 -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 6E9E897 for ; Thu, 27 Jul 2023 03:10:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0294E61E0E for ; Thu, 27 Jul 2023 10:10:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 4E620C433C9; Thu, 27 Jul 2023 10:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690452621; bh=V8cRhjjMjy0S96MMHGyJjXFao2r6oszoTlft5F/lo94=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=XAmD/75Akb6sePqlWJX10dhM6Y0Bw3xikdxF2TFxaWS7lvQQaroZudPo7y6p4KS8L 9ilRLPBmRIV8X0BM8ou/GAKTb3p8WVX6WU8vt08hXHjmjUDxR2s/BwnKWwFkWj6bM0 obF5xXe/Tg8fBQ6co2e1Ws/Ke9HlFK/KcrOPXLqotsFWA+U01ZRP/LxiNb4MopzKer PiHK1JoTMI/Mdxb0V9iD7eNYmMa7fng0OlP8pPxrSImldse/Gw91W6s6z9E3TWc52z OSgbUoFk3OZffrCMWwibOszCGpaGY9ytT40wTDiYRh+AjC5JlMhu6wxWYLKg9JMtyb yeqmIFpGzvA8g== 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 347B2C595D0; Thu, 27 Jul 2023 10:10:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] tipc: stop tipc crypto on failure in tipc_node_create From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169045262121.6409.17871887881657519923.git-patchwork-notify@kernel.org> Date: Thu, 27 Jul 2023 10:10:21 +0000 References: <20230725214628.25246-1-pchelkin@ispras.ru> In-Reply-To: <20230725214628.25246-1-pchelkin@ispras.ru> To: Fedor Pchelkin Cc: jmaloy@redhat.com, ying.xue@windriver.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, lucien.xin@gmail.com, netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org, khoroshilov@ispras.ru, lvc-project@linuxtesting.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Wed, 26 Jul 2023 00:46:25 +0300 you wrote: > If tipc_link_bc_create() fails inside tipc_node_create() for a newly > allocated tipc node then we should stop its tipc crypto and free the > resources allocated with a call to tipc_crypto_start(). > > As the node ref is initialized to one to that point, just put the ref on > tipc_link_bc_create() error case that would lead to tipc_node_free() be > eventually executed and properly clean the node and its crypto resources. > > [...] Here is the summary with links: - [v2] tipc: stop tipc crypto on failure in tipc_node_create https://git.kernel.org/netdev/net/c/de52e17326c3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html