Re: [PATCH net] net/mlx5e: psp, avoid 'accel' NULL pointer dereference

patchwork-bot+netdevbpf
2025-10-16T22:50:27Z

Hello:

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

On Wed, 15 Oct 2025 10:05:23 +0300 you wrote:
> From: Cosmin Ratiu <cratiu@nvidia.com>
>
> The 'accel' parameter of mlx5e_txwqe_build_eseg_csum() and the similar
> 'state' parameter of mlx5e_accel_tx_ids_len() were NULL when called
> from mlx5i_sq_xmit() and were causing kernel panics from that context.
>
> Fix that by passing in a local empty mlx5e_accel_tx_state variable, thus
> guaranteeing that 'accel' is never NULL. Also remove an unnecessary
> check from mlx5e_tx_wqe_inline_mode().
>
> [...]

Here is the summary with links:
- [net] net/mlx5e: psp, avoid 'accel' NULL pointer dereference
https://git.kernel.org/netdev/net/c/5348d6312446

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