[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.7] missing vgic_unlock_rank in gic_remove_irq_from_guest
commit 9c404dfc0817150194da8156627167317c2ed058 Author: Stefano Stabellini <sstabellini@xxxxxxxxxx> AuthorDate: Thu Dec 8 16:59:28 2016 -0800 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Fri Mar 17 12:06:53 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 2bfe4de..b3b7a5f 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -197,7 +197,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.7 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |