]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] fix remap_pte_range BUG
authorHugh Dickins <hugh@veritas.com>
Wed, 22 Jun 2005 13:02:41 +0000 (14:02 +0100)
committerChris Wright <chrisw@osdl.org>
Wed, 29 Jun 2005 23:00:36 +0000 (16:00 -0700)
commit986bd4301425ab01934f8efe08ed9433b45492bb
tree7eead4f7035d20e1a2da6df987a75ee2451441a0
parent906aa4d200854cf01f683195945f4618f8881e9a
[PATCH] fix remap_pte_range BUG

Out-of-tree user of remap_pfn_range hit kernel BUG at mm/memory.c:1112!
It passes an unrounded size to remap_pfn_range, which was okay before
2.6.12, but misses remap_pte_range's new end condition.  An audit of
all the other ptwalks confirms that this is the only one so exposed.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Chris Wright <chrisw@osdl.org>
mm/memory.c