iommu/amd: Handle large pages correctly in free_pagetable
authorJoerg Roedel <jroedel@suse.de>
Thu, 18 Jun 2015 08:48:34 +0000 (10:48 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 19 Jun 2015 15:17:34 +0000 (17:17 +0200)
commit0b3fff54bc01e8e6064d222a33e6fa7adabd94cd
tree1fba9507bd5740d54693a18a53664b5f2d1fd67a
parente6aabee05f41c9d18e0b92194819edd84f352ac9
iommu/amd: Handle large pages correctly in free_pagetable

Make sure that we are skipping over large PTEs while walking
the page-table tree.

Cc: stable@kernel.org
Fixes: 5c34c403b723 ("iommu/amd: Fix memory leak in free_pagetable")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c