summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-11-13 19:46:19 +0300
committerPaul Mackerras <paulus@ozlabs.org>2019-11-21 08:24:41 +0300
commit30486e72093ea2e594f44876b7a445c219449bce (patch)
tree212f971a57c95bdbbff0979d2e169b76d69d3978 /tools/perf/util/scripting-engines/trace-event-python.c
parent31a88c82b466d2f31a44e21c479f45b4732ccfd0 (diff)
downloadlinux-30486e72093ea2e594f44876b7a445c219449bce.tar.xz
KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions