Re: [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF

From: patchwork-bot+netdevbpf

Date: Thu Oct 29 2026 - 05:40:25 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Mon, 26 Oct 2026 10:45:03 +0200 you wrote:
> From: Cosmin Ratiu <cratiu@xxxxxxxxxx>
>
> The validation for the num_doorbells devlink param rejects values
> greater than num_channels. For lightweight SFs, this ends up accessing
> a NULL priv->eq_table, leading to a crash.
>
> Fix that by rejecting setting num_doorbells on uninitialized SFs.
>
> [...]

Here is the summary with links:
- [net] net/mlx5: Only set num_doorbells on a fully initialized SF
https://git.kernel.org/netdev/net/c/fa503935c2d6

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