Re: [PATCH v7 0/2] net/mlx5: Fix NULL dereference and memory leak in ttc_table creation

patchwork-bot+netdevbpf
2025-04-22T09:09:29Z

Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 18 Apr 2025 10:38:12 +0800 you wrote:
> This patch series addresses two issues in the
> mlx5_create_inner_ttc_table() and mlx5_create_ttc_table() functions:
>
> 1. A potential NULL pointer dereference if mlx5_get_flow_namespace()
> returns NULL.
>
> 2. A memory leak in the error path when ttc_type is invalid (default:
> switch case).
>
> [...]

Here is the summary with links:
- [v7,1/2] net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table()
https://git.kernel.org/netdev/net/c/91037037ee3d
- [v7,2/2] net/mlx5: Move ttc allocation after switch case to prevent leaks
https://git.kernel.org/netdev/net/c/fa8fd315127c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.