[PATCH 1/2] rxrpc: Fix rxrpc_peer leak in rxrpc_look_up_bundle()

Jakub Kicinski kuba at kernel.org
Thu Nov 25 19:27:27 PST 2021


On Wed, 24 Nov 2021 14:37:33 +0000 David Howells wrote:
> From: Eiichi Tsukata <eiichi.tsukata at nutanix.com>
> 
> Need to call rxrpc_put_peer() for bundle candidate before kfree() as it
> holds a ref to rxrpc_peer.
> 
> [DH: v2: Changed to abstract out the bundle freeing code into a function]
> 
> Fixes: 245500d853e9 ("rxrpc: Rewrite the client connection manager")
> Signed-off-by: Eiichi Tsukata <eiichi.tsukata at nutanix.com>
> Signed-off-by: David Howells <dhowells at redhat.com>
> cc: Marc Dionne <marc.dionne at auristor.com>
> cc: linux-afs at lists.infradead.org
> Link: https://lore.kernel.org/r/20211121041608.133740-1-eiichi.tsukata@nutanix.com/ # v1

Are these supposed to go to net? They are addressed To: the author.



More information about the linux-afs mailing list