From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHHwK-0007cZ-1h for qemu-devel@nongnu.org; Thu, 07 Jan 2016 16:17:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHHwI-0007RZ-Qo for qemu-devel@nongnu.org; Thu, 07 Jan 2016 16:17:47 -0500 References: <1452174266-11594-1-git-send-email-pbonzini@redhat.com> <1452174266-11594-2-git-send-email-pbonzini@redhat.com> From: Max Reitz Message-ID: <568ED5ED.10400@redhat.com> Date: Thu, 7 Jan 2016 22:17:33 +0100 MIME-Version: 1.0 In-Reply-To: <1452174266-11594-2-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wkfsQimCMd7L8pRVkIX90MNtVMH3DnRFj" Subject: Re: [Qemu-devel] [PATCH 1/2] nbd: do not check request length except for reads and writes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: kwolf@redhat.com, sitsofe@yahoo.com, qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wkfsQimCMd7L8pRVkIX90MNtVMH3DnRFj Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 07.01.2016 14:44, Paolo Bonzini wrote: > Only reads and writes need to allocate memory correspondent to the > request length. Other requests can be sent to the storage without > allocating any memory, and thus any request length is acceptable. >=20 > Reported-by: Sitsofe Wheeler > Cc: qemu-block@nongnu.org > Signed-off-by: Paolo Bonzini > --- > nbd.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) Reviewed-by: Max Reitz --wkfsQimCMd7L8pRVkIX90MNtVMH3DnRFj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWjtXuAAoJEDuxQgLoOKytWWYH/2QllCbEfYcTjAB7NEzcYFPG irgQLKAdq8+k0IfRds8yeh8Ewb2/IwqPNaRVfY20wGeK2Ga/8gJm3zm9wImS1hDE 9Szenp+0MFd4qPT8yxLtMRX08+qAWGx7/Y5TapCVd3i/uD8TZw3MDoYOq0KNKjwy 1Dd/VlxIDcc+Ezp5743t8ydlAdYUxqpgx3u0wKr5KwwXkeriw4YXMW/4J/osSqL2 Bx3BL/lBKAi2GgK3Rr6bcTcYbYjd4E/SauJWqfpUzHPxo7SWFM9sh0/uNSsRDFNU X0BrLQGPjkYzl9DoFBK+JNUGSVFmi/OsYOMrrJCe6GRdu3hrueXfYnwhGPWI+zQ= =jY+w -----END PGP SIGNATURE----- --wkfsQimCMd7L8pRVkIX90MNtVMH3DnRFj--