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

From: patchwork-bot+netdevbpf

Date: Fri Mar 06 2026 - 21:00:34 EST


Hello:

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

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