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
Also in
lkml
Reply to
David Howells, 2026-03-05
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list 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

Thread (3 messages) 3 messages, 2 authors, last reply 2026-03-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help