Thread (2 messages) 2 messages, 2 authors, 2022-06-30

Re: [PATCH net] mlxsw: spectrum_router: Fix rollback in tunnel next hop init

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-06-30 10:00:20

Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni [off-list ref]:

On Wed, 29 Jun 2022 10:02:05 +0300 you wrote:
From: Petr Machata <petrm@nvidia.com>

In mlxsw_sp_nexthop6_init(), a next hop is always added to the router
linked list, and mlxsw_sp_nexthop_type_init() is invoked afterwards. When
that function results in an error, the next hop will not have been removed
from the linked list. As the error is propagated upwards and the caller
frees the next hop object, the linked list ends up holding an invalid
object.

[...]
Here is the summary with links:
  - [net] mlxsw: spectrum_router: Fix rollback in tunnel next hop init
    https://git.kernel.org/netdev/net/c/665030fd0c1e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help