1
0
Fork 0
alistair23-linux/virt/kvm/arm/vgic
Zenghui Yu 57bdb436ce KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi()
If we're going to fail out the vgic_add_lpi(), let's make sure the
allocated vgic_irq memory is also freed. Though it seems that both
cases are unlikely to fail.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200414030349.625-3-yuzenghui@huawei.com
2020-04-23 16:26:56 +01:00
..
trace.h KVM: arm/arm64: vgic: Use the appropriate TRACE_INCLUDE_PATH 2019-09-11 16:36:19 +01:00
vgic-debug.c KVM: arm64: GICv4.1: Expose HW-based SGIs in debugfs 2020-03-24 12:15:52 +00:00
vgic-init.c KVM: arm64: vgic-v3: Retire all pending LPIs on vcpu destroy 2020-04-23 16:26:56 +01:00
vgic-irqfd.c KVM: arm/arm64: vgic-irqfd: Implement kvm_arch_set_irq_inatomic 2019-08-18 18:38:54 +01:00
vgic-its.c KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi() 2020-04-23 16:26:56 +01:00
vgic-kvm-device.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
vgic-mmio-v2.c KVM: arm: vgic-v2: Only use the virtual state when userspace accesses pending bits 2020-04-23 16:26:31 +01:00
vgic-mmio-v3.c KVM: arm: vgic: Only use the virtual state when userspace accesses enable bits 2020-04-22 17:13:30 +01:00
vgic-mmio.c KVM: arm: vgic-v2: Only use the virtual state when userspace accesses pending bits 2020-04-23 16:26:31 +01:00
vgic-mmio.h KVM: arm: vgic-v2: Only use the virtual state when userspace accesses pending bits 2020-04-23 16:26:31 +01:00
vgic-v2.c * s390: ioctl hardening, selftests 2019-09-18 09:49:13 -07:00
vgic-v3.c KVM: arm64: GICv4.1: Plumb SGI implementation selection in the distributor 2020-03-24 12:15:51 +00:00
vgic-v4.c KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts 2020-03-24 12:15:51 +00:00
vgic.c KVM: arm64: vgic-v4: Move the GICv4 residency flow to be driven by vcpu_load/put 2019-10-28 16:20:58 +00:00
vgic.h KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts 2020-03-24 12:15:51 +00:00