Re: [Qemu-block] [PATCH 2/2] nbd: Fix server reply to NBD_OPT_EXPORT_NAME of older clients

2017-07-17 Thread Eric Blake
On 07/17/2017 01:27 PM, John Snow wrote: > > > On 07/14/2017 02:32 PM, Eric Blake wrote: >> A typo in commit 23e099c set the size of buf[] used in response >> to NBD_OPT_EXPORT_NAME according to the length needed for old-style >> negotiation (4 bytes of flag information) instead of the intended

Re: [Qemu-block] [PATCH 2/2] nbd: Fix server reply to NBD_OPT_EXPORT_NAME of older clients

2017-07-17 Thread John Snow
On 07/14/2017 02:32 PM, Eric Blake wrote: > A typo in commit 23e099c set the size of buf[] used in response > to NBD_OPT_EXPORT_NAME according to the length needed for old-style > negotiation (4 bytes of flag information) instead of the intended > 2 bytes used in new style. If the client

[Qemu-block] [PATCH 2/2] nbd: Fix server reply to NBD_OPT_EXPORT_NAME of older clients

2017-07-14 Thread Eric Blake
A typo in commit 23e099c set the size of buf[] used in response to NBD_OPT_EXPORT_NAME according to the length needed for old-style negotiation (4 bytes of flag information) instead of the intended 2 bytes used in new style. If the client doesn't enable NBD_FLAG_C_NO_ZEROES, then the server sends