On Fri, Nov 13, 2026 at 04:34:49PM -0600, Eric Blake wrote: > An upcoming patch wants to reuse the payload of a structured reply > chunk in further code for additional safety checks on the server's > response. It will be easiest if the initial parse converts the > payload from network order into host order along the way, so that I > don't introduce subtle endian-specific bugs in that upcoming code. A > quick audit shows that none of the current callers of > payload_advance*() were reading a memory location within the payload > after its initial parse. > > Signed-off-by: Eric Blake <[email protected]> > --- > block/nbd.c | 18 +++++++++++++++--- > 1 file changed, 15 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
