From: Prarit Bhargava Date: Mon, 21 Jul 2008 14:15:22 +0000 (-0400) Subject: x86, pci: iommu fix potential overflow in alloc_iommu() X-Git-Tag: v2.6.28-rc1~734^2^10~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d3ed0a1fe3ea05ab9f3b8d32576a0bc2e19660;p=pandora-kernel.git x86, pci: iommu fix potential overflow in alloc_iommu() It is possible that alloc_iommu()'s boundary_size overflows as dma_get_seg_boundary can return 0xffffffff. In that case, further usage of boundary_size triggers a BUG_ON() in the iommu code. Signed-off-by: Prarit Bhargava Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed