Re: [Qemu-devel] [PATCH 1/3] NBD proto: forbid TRIM command without negotiation

2016-03-28 Thread Eric Blake
On 03/28/2016 04:43 AM, Denis V. Lunev wrote: > From: Pavel Borzenkov > > There is a loophole in the protocol that allows a client to send TRIM > request even if support for it wasn't negotiated with the server. State > explicitly that the client MUST NOT send such command without prior > success

[Qemu-devel] [PATCH 1/3] NBD proto: forbid TRIM command without negotiation

2016-03-28 Thread Denis V. Lunev
From: Pavel Borzenkov There is a loophole in the protocol that allows a client to send TRIM request even if support for it wasn't negotiated with the server. State explicitly that the client MUST NOT send such command without prior successful negotiation. Signed-off-by: Pavel Borzenkov Reviewed