]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Fix memory corruption in pci_4u_free_consistent().
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Oct 2006 05:33:07 +0000 (22:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Oct 2006 05:39:16 +0000 (22:39 -0700)
commit012d64ff68f304df1c35ce5902f5023dc14b643f
treeda1e6691c0c9a4d087b441762ce9df8974178339
parent4130a4b206e7c628482aa12ec30949382c8cdc5e
[SPARC64]: Fix memory corruption in pci_4u_free_consistent().

The second argument to free_npages() was being incorrectly
calculated, which would thus access far past the end of the
arena->map[] bitmap.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_iommu.c