# Re: \[PATCH net\] rxrpc: Fix memory leak in rxrpc\_lookup\_local

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-01-28 21:21:20 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/01/6251400
- Thread: https://ratatoskr.run/netdev/2021/01/6250753/t.md

```text
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 28 Jan 2021 10:48:36 +0000 you wrote:
> From: Takeshi Misawa <redacted>
> 
> Commit 9ebeddef58c4 ("rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record")
> Then release ref in __rxrpc_put_peer and rxrpc_put_peer_locked.
> 
> 	struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp)
> 	-               peer->local = local;
> 	+               peer->local = rxrpc_get_local(local);
> 
> [...]

Here is the summary with links:
  - [net] rxrpc: Fix memory leak in rxrpc_lookup_local
    https://git.kernel.org/netdev/net/c/b8323f7288ab

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


```
