summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-11-13 17:46:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-13 08:42:58 +0100
commit88c494172baffd12bf003bffb858fc279060d842 (patch)
tree7505e83e651596b810812d1b988f337efab72bcf /scripts/stackusage
parent97c9c012fec34edc91b3188ad6c637da37365083 (diff)
KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path
commit 30486e72093ea2e594f44876b7a445c219449bce upstream. We need to check the host page size is big enough to accomodate the EQ. Let's do this before taking a reference on the EQ page to avoid a potential leak if the check fails. Cc: stable@vger.kernel.org # v5.2 Fixes: 13ce3297c576 ("KVM: PPC: Book3S HV: XIVE: Add controls for the EQ configuration") Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions