[PATCH] SPARC64: Fix memory corruption in pci_4u_free_consistent().
commit955ebc8df7709dbcb92d7bf74a2598282e1c9307
authorDavid Miller <davem@davemloft.net>
Thu, 26 Oct 2006 06:51:07 +0000 (25 23:51 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:46 +0000 (3 17:33 -0800)
tree81bcc9f61f7653c5285de15673d1abf94b85b4ab
parent59bf9f2fd5c23b6776520d75c67825a33f4fbbbc
[PATCH] 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/sparc64/kernel/pci_iommu.c