]> git.karo-electronics.de Git - karo-tx-linux.git/commit
intel-iommu: Fix use after release during device attach
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 2 Nov 2010 07:05:51 +0000 (08:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 May 2011 16:19:35 +0000 (09:19 -0700)
commit6a6a3e00ccd23f5b9d146a4b0591c8b61b4d0bb2
tree1d2cd1b800ed31ad38f5551c1feb8f085f536f48
parenta35cb5371d340fbaa459efc78e0d00ca3cd8e05e
intel-iommu: Fix use after release during device attach

commit 7a6610139a1e1d9297dd1c5d178022eac36839cb upstream.

Obtain the new pgd pointer before releasing the page containing this
value.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/intel-iommu.c