diff options
author | 2022-12-26 12:03:15 +0000 | |
---|---|---|
committer | 2022-12-27 06:01:48 -0500 | |
commit | 385407a69d5140825d4cdab814cbf128ba63a64a (patch) | |
tree | ad20fd284404a5307883eaac513885fa352f5dca /tools/perf/scripts/python | |
parent | KVM: Delete extra block of "};" in the KVM API documentation (diff) | |
download | wireguard-linux-385407a69d5140825d4cdab814cbf128ba63a64a.tar.xz wireguard-linux-385407a69d5140825d4cdab814cbf128ba63a64a.zip |
KVM: x86/xen: Fix memory leak in kvm_xen_write_hypercall_page()
Release page irrespectively of kvm_vcpu_write_guest() return value.
Suggested-by: Paul Durrant <paul@xen.org>
Fixes: 23200b7a30de ("KVM: x86/xen: intercept xen hypercalls if enabled")
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Message-Id: <20221220151454.712165-1-mhal@rbox.co>
Reviewed-by: Paul Durrant <paul@xen.org>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20221226120320.1125390-1-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions