Isaku Yamahata
2006-Apr-04 11:06 UTC
[Xen-devel] [PATCH] fix mfn check of gnttab_transfer()
fix mfn check of gnttab_transfer(). -- yamahata _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Apr-04 12:43 UTC
Re: [Xen-devel] [PATCH] fix mfn check of gnttab_transfer()
On 4 Apr 2006, at 12:06, Isaku Yamahata wrote:> fix mfn check of gnttab_transfer().What''s wrong with the mfn check? mfn_valid() will return false for INVALID_MFN so there''s no need to check for it explicitly. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Steven Smith
2006-Apr-04 13:05 UTC
Re: [Xen-devel] [PATCH] fix mfn check of gnttab_transfer()
> >fix mfn check of gnttab_transfer(). > What''s wrong with the mfn check? mfn_valid() will return false for > INVALID_MFN so there''s no need to check for it explicitly.The interesting part here is that the mfn_valid() should be called on the mfn rather than the gmfn, and I''ve applied that part. Steven. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel