Re: [PATCH net] rxrpc: Fix memory leak in rxrpc_lookup_local

From
patchwork-bot+netdevbpf@kernel.org
Date
2021-01-28 21:21:20
Also in
lkml
Reply to
David Howells, 2021-01-28
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

Thread (2 messages) 2 messages, 2 authors, last reply 2021-01-28
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