summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-08-08 15:44:15 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2007-08-15 09:25:09 -0700
commit51a718fdf27c4bf61936f146516b9f623b4e9875 (patch)
tree5702925216e0a7f609e8cdbafae7dc671e8c3e93 /net/lapb/lapb_timer.c
parent58a2ed923de07dcec6bd8159a060ddce3ee7e08b (diff)
powerpc: Fix size check for hugetlbfs
My "slices" address space management code that was added in 2.6.22 implementation of get_unmapped_area() doesn't properly check that the size is a multiple of the requested page size. This allows userland to create VMAs that aren't a multiple of the huge page size with hugetlbfs (since hugetlbfs entirely relies on get_unmapped_area() to do that checking) which leads to a kernel BUG() when such areas are torn down. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions