On 09/18/2017 08:59 AM, Vladimir Sementsov-Ogievskiy wrote: > Check reply-handle == request-handle in the same place, where
s/,// > recv coroutine number is calculated from reply->handle and it's > correctness checked - in nbd_read_reply_entry. > > Also finish nbd_read_reply_entry in case of reply-handle != > request-handle in the same way as in case of incorrect reply-handle. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- > block/nbd-client.h | 1 + > block/nbd-client.c | 8 ++++++-- > 2 files changed, 7 insertions(+), 2 deletions(-) > Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature