[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <18437.44903.306912.321024@harpo.it.uu.se>
Date: Wed, 16 Apr 2008 09:48:55 +0200
From: Mikael Pettersson <mikpe@...uu.se>
To: Johannes Weiner <hannes@...urebad.de>
Cc: Mikael Pettersson <mikpe@...uu.se>,
LKML <linux-kernel@...r.kernel.org>,
Roel Kluin <12o3l@...cali.nl>, Andreas Schwab <schwab@...e.de>,
Matt Mackall <mpm@...enic.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v2] mm: Fix possible off-by-one in walk_pte_range()
Johannes Weiner writes:
> From: Johannes Weiner <hannes@...urebad.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@...urebad.de>
> CC: Roel Kluin <12o3l@...cali.nl>
> CC: Andreas Schwab <schwab@...e.de>
> CC: Matt Mackall <mpm@...enic.com>
> CC: Andrew Morton <akpm@...ux-foundation.org>
Thanks, v2 looks much nicer.
Acked-by: Mikael Pettersson <mikpe@...uu.se>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists