From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Smith Subject: Re: [PATCH] fix mfn check of gnttab_transfer() Date: Tue, 4 Apr 2006 14:05:54 +0100 Message-ID: <20060404130554.GA3846@cam.ac.uk> References: <20060404110652.GD25732%yamahata@valinux.co.jp> <651fab52bdade4825d49c4e193c6466c@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0612111258==" Return-path: In-Reply-To: <651fab52bdade4825d49c4e193c6466c@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Isaku Yamahata , Xen-devel@lists.xensource.com, sos22@srcf.ucam.org List-Id: xen-devel@lists.xenproject.org --===============0612111258== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >fix mfn check of gnttab_transfer(). > What's wrong with the mfn check? mfn_valid() will return false for=20 > 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. --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEMm8yO4S8/gLNrjcRAsOLAJ0YWQ3pveqQlFW0amuko+WK59R1VACfcs9A SYh0kBLzgfHZAcgQsXeiq3A= =k7TY -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR-- --===============0612111258== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0612111258==--