commit | 63eaa75e4362ac7981a7e619196a9c75fd03d717 | [log] [tgz] |
---|---|---|
author | Maurizio Lombardi <mlombard@redhat.com> | Thu Sep 11 12:28:03 2014 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Sep 25 15:58:42 2014 +0200 |
tree | 59c26138350670efae84d3bd5dae773a543a01bf | |
parent | cafd2545cfd36ef6fee14f9c36870b81d3c98de5 [diff] |
amd_iommu: do not dereference a NULL pointer address. under low memory conditions, alloc_pte() may return a NULL pointer. iommu_map_page() does not check it and will panic the system. Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>