summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorEiichi Tsukata <eiichi.tsukata@nutanix.com>2021-11-21 04:16:08 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-08 09:03:25 +0100
commit60f0b9c42cb80833a03ca57c1c8b078d716e71d1 (patch)
tree4031120787fe865dac414c2887288be5f9d60c96 /sound/hda
parent35b40f724c4ef0f683d94dab3af9ab38261d782b (diff)
downloadlinux-stable-60f0b9c42cb80833a03ca57c1c8b078d716e71d1.tar.gz
linux-stable-60f0b9c42cb80833a03ca57c1c8b078d716e71d1.tar.bz2
linux-stable-60f0b9c42cb80833a03ca57c1c8b078d716e71d1.zip
rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
commit beacff50edbd6c9659a6f15fc7f6126909fade29 upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions