|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] x86: add an extra check when validating a huge p
On 09/09/2009 16:19, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
> - rc = get_data_page(mfn_to_page(m), d, writeable);
> + if ( mfn_valid(m) )
> + rc = get_data_page(mfn_to_page(m), d, writeable);
> + else
> + rc = -EINVAL;
'else rc = 0' would be more like it, eh?
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|