lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 16 Apr 2008 09:48:55 +0200
FromMikael Pettersson <>
SubjectRe: [PATCH v2] mm: Fix possible off-by-one in walk_pte_range()
Johannes Weiner writes:
 > From: Johannes Weiner <hannes@saeurebad.de> > Subject: [PATCH] mm: Fix possible off-by-one in walk_pte_range()
 >  > After the loop in walk_pte_range() pte might point to the first address
 > after the pmd it walks.  The pte_unmap() is then applied to something
 > bad. >  > Spotted by Roel Kluin and Andreas Schwab. >  > Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
 > CC: Roel Kluin <12o3l@tiscali.nl>
 > CC: Andreas Schwab <schwab@suse.de>
 > CC: Matt Mackall <mpm@selenic.com>
 > CC: Andrew Morton <akpm@linux-foundation.org>

Thanks, v2 looks much nicer.

Acked-by: Mikael Pettersson <mikpe@it.uu.se>


\
 
 \ /
  Last update: 2008-04-16 09:53    [from the cache]
©2003-2008