Messages in this thread | | | Subject | Re: [PATCH v2] tipc: stop tipc crypto on failure in tipc_node_create | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 27 Jul 2023 10:10:21 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Paolo Abeni <pabeni@redhat.com>:
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
| |