[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.8] missing vgic_unlock_rank in gic_remove_irq_from_guest
commit 05946b58420c693748366b7c6f71ec2ec2456242 Author: Stefano Stabellini <sstabellini@xxxxxxxxxx> AuthorDate: Thu Dec 8 16:59:28 2016 -0800 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Thu Mar 16 13:46:39 2017 -0700 missing vgic_unlock_rank in gic_remove_irq_from_guest Add missing vgic_unlock_rank on the error path in gic_remove_irq_from_guest. Coverity-ID: 1381843 Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> Reviewed-by: Julien Grall <julien.grall@xxxxxxx> --- xen/arch/arm/gic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index 63c744a..a5348f2 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -205,7 +205,10 @@ int gic_remove_irq_from_guest(struct domain *d, unsigned int virq, */ if ( test_bit(_IRQ_INPROGRESS, &desc->status) || !test_bit(_IRQ_DISABLED, &desc->status) ) + { + vgic_unlock_rank(v_target, rank, flags); return -EBUSY; + } } clear_bit(_IRQ_GUEST, &desc->status); -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.8 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |