# Re: \[PATCH net\] rxrpc, afs: Fix missing error pointer check after rxrpc\_kernel\_lookup\_peer()

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2026-03-07 02:00:12 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/03/3445822
- Thread: https://ratatoskr.run/netdev/2026/03/3442197/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [ref]:

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


```
