Re: [Patch Part1 V2 12/17] iommu/vt-d: fix invalid memory access when freeing DMAR irq

2013-12-01 Thread Yijing Wang
Reviewed-by: Yijing Wang On 2013/11/29 16:50, Jiang Liu wrote: > In function free_dmar_iommu(), it sets IRQ handler data to NULL > before calling free_irq(), which will cause invalid memory access > because free_irq() will access IRQ handler data when calling > function dmar_msi_mask(). So only

Re: [Patch Part1 V2 12/17] iommu/vt-d: fix invalid memory access when freeing DMAR irq

2013-12-01 Thread Yijing Wang
Reviewed-by: Yijing Wang wangyij...@huawei.com On 2013/11/29 16:50, Jiang Liu wrote: In function free_dmar_iommu(), it sets IRQ handler data to NULL before calling free_irq(), which will cause invalid memory access because free_irq() will access IRQ handler data when calling function