Skip to content
Snippets Groups Projects
Commit 986bd430 authored by Hugh Dickins's avatar Hugh Dickins Committed by Chris Wright
Browse files

[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: default avatarHugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
parent 906aa4d2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment