aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEiichi Tsukata <eiichi.tsukata@nutanix.com>2021-11-21 04:16:08 +0000
committerDavid Howells <dhowells@redhat.com>2021-11-29 15:40:02 +0000
commitbeacff50edbd6c9659a6f15fc7f6126909fade29 (patch)
treea0d601adea98d9519779f70148d7e00ff7305fb4 /kernel
parentca77fba821351190777b236ce749d7c4d353102e (diff)
downloadlinux-beacff50edbd6c9659a6f15fc7f6126909fade29.tar.gz
rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
Need to call rxrpc_put_local() for peer candidate before kfree() as it holds a ref to rxrpc_local. [DH: v2: Changed to abstract the peer freeing code out into a function] Fixes: 9ebeddef58c4 ("rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record") Signed-off-by: Eiichi Tsukata <eiichi.tsukata@nutanix.com> Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Link: https://lore.kernel.org/all/20211121041608.133740-2-eiichi.tsukata@nutanix.com/ # v1
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions