[PATCH net] rxrpc, afs: Fix missing error pointer check after rxrpc_kernel_lookup_peer()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Mar 6 18:00:11 PST 2026


Hello:

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

On Thu, 05 Mar 2026 12:31:01 +0000 you wrote:
> rxrpc_kernel_lookup_peer() can also return error pointers in addition to
> NULL, so just checking for NULL is not sufficient.
> 
> Fix this by:
> 
>  (1) Changing rxrpc_kernel_lookup_peer() to return -ENOMEM rather than NULL
>      on allocation failure.
> 
> [...]

Here is the summary with links:
  - [net] rxrpc, afs: Fix missing error pointer check after rxrpc_kernel_lookup_peer()
    https://git.kernel.org/netdev/net/c/4245a79003ad

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





More information about the linux-afs mailing list