Re: [PATCH v6 05/17] nbd/server: Refactor handling of command sanity checks

2023-09-25 Thread Eric Blake
On Mon, Sep 04, 2023 at 07:53:10PM +0300, Vladimir Sementsov-Ogievskiy wrote: > On 29.08.23 20:58, Eric Blake wrote: > > Upcoming additions to support NBD 64-bit effect lengths will add a new > > command flag NBD_CMD_FLAG_PAYLOAD_LEN that needs to be considered in > > our sanity checks of the

Re: [PATCH v6 05/17] nbd/server: Refactor handling of command sanity checks

2023-09-04 Thread Vladimir Sementsov-Ogievskiy
On 29.08.23 20:58, Eric Blake wrote: Upcoming additions to support NBD 64-bit effect lengths will add a new command flag NBD_CMD_FLAG_PAYLOAD_LEN that needs to be considered in our sanity checks of the client's messages (that is, more than just CMD_WRITE have the potential to carry a client