Re: [PATCH] mm/nommu.c - return 0 from kobjsize with invalid objects

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Howells
Date: Tuesday, April 22, 2008 - 2:35 pm

Robin Getz <rgetz@blackfin.uclinux.org> wrote:


You should probably do the additional test before calling virt_to_page(), just
in case the illegal value you've rejected would otherwise break virt_to_page()
(not very likely, but...).  For valid addresses, you've got to do all the
tests anyway.

David
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mm/nommu.c - return 0 from kobjsize with inval ..., David Howells, (Tue Apr 22, 2:35 pm)