Re: [PATCH RESEND] VMCI: Check exclusive_vectors when freeing interrupt 1

2022-03-18 Thread Greg KH
On Thu, Mar 17, 2022 at 10:58:43PM -0700, vd...@vmware.com wrote: > From: Vishnu Dasa > > free_irq() may be called to free an interrupt that was not > allocated. Add missing 'if' statement to check for > exclusive_vectors when freeing interrupt 1. > > Fixes: cc68f2177fcb ("VMCI: dma dg: registe

[PATCH RESEND] VMCI: Check exclusive_vectors when freeing interrupt 1

2022-03-17 Thread vdasa
From: Vishnu Dasa free_irq() may be called to free an interrupt that was not allocated. Add missing 'if' statement to check for exclusive_vectors when freeing interrupt 1. Fixes: cc68f2177fcb ("VMCI: dma dg: register dummy IRQ handlers for DMA datagrams") Reported-by: Dan Carpenter Reviewed-b