]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
KVM: VMX: fix page leak in hardware_setup()
authorJim Mattson <jmattson@google.com>
Fri, 1 Dec 2017 17:57:56 +0000 (09:57 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 5 Dec 2017 21:34:49 +0000 (22:34 +0100)
commit2895db67b01cb875457c9c3f30a14723b6b5dfd5
tree9267a6cb0fc613021825c67f897212b6e00231b5
parentd59d51f088014f25c2562de59b9abff4f42a7468
KVM: VMX: fix page leak in hardware_setup()

vmx_io_bitmap_b should not be allocated twice.

Fixes: 23611332938d ("KVM: VMX: refactor setup of global page-sized bitmaps")
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c