Re: [Qemu-devel] [PATCH 05/18] nbd: Reject unknown request flags

2016-04-09 Thread Alex Bligh
On 8 Apr 2016, at 23:05, Eric Blake wrote: > The NBD protocol says that clients should not send a command flag > that has not been negotiated (whether by the client requesting an > option during a handshake, or because we advertise support for the > flag in response to NBD_OPT_EXPORT_NAME), and

[Qemu-devel] [PATCH 05/18] nbd: Reject unknown request flags

2016-04-08 Thread Eric Blake
The NBD protocol says that clients should not send a command flag that has not been negotiated (whether by the client requesting an option during a handshake, or because we advertise support for the flag in response to NBD_OPT_EXPORT_NAME), and that servers should reject invalid flags with EINVAL.