From: Jiang Liu Date: Fri, 7 Dec 2012 20:43:50 +0000 (-0700) Subject: VFIO: unregister IOMMU notifier on error recovery path X-Git-Tag: v3.8-rc1~10^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9df7b25ab71cee770826d1e7983eb8b6715543d6;p=pandora-kernel.git VFIO: unregister IOMMU notifier on error recovery path On error recovery path in function vfio_create_group(), it should unregister the IOMMU notifier for the new VFIO group. Otherwise it may cause invalid memory access later when handling bus notifications. Signed-off-by: Jiang Liu Signed-off-by: Alex Williamson --- Reading git-diff-tree failed