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>
Loading
Please register or sign in to comment