Re: [PATCH net-next v2 0/2] devlink: do not dereference a missing param item or shared buffer

From: patchwork-bot+netdevbpf

Date: Fri Nov 06 2026 - 16:01:03 EST


Hello:

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

On Mon, 2 Nov 2026 21:15:03 +0800 you wrote:
> From: Linkui Xiao <xiaolinkui@xxxxxxxxxx>
>
> Two devlink helpers look an object up by id or index, warn when the
> lookup fails, and then pass the NULL result to code that dereferences
> it. A driver mistake (a param_id that was never registered, an sb_index
> that was never registered or is unregistered twice) therefore costs an
> oops instead of a warning.
>
> [...]

Here is the summary with links:
- [net-next,v2,1/2] devlink: param: do not dereference a missing param item
https://git.kernel.org/netdev/net-next/c/944f5b9f00f7
- [net-next,v2,2/2] devlink: sb: do not dereference a missing shared buffer
https://git.kernel.org/netdev/net-next/c/0e729906cfee

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