[PATCH net] rxrpc: Fix memory leak in rxrpc_lookup_local

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Thu Jan 28 16:20:11 EST 2021


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 <jeliantsurux at gmail.com>
> 
> 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





More information about the linux-afs mailing list