]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/nbd: check that received handle is valid
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 2 Sep 2021 10:38:05 +0000 (13:38 +0300)
committerEric Blake <eblake@redhat.com>
Wed, 29 Sep 2021 18:46:33 +0000 (13:46 -0500)
commit1af7737871fb3b66036f5e520acb0a98fc2605f7
treefc3bab1cc9fe8db22203168f5d75b07e763a0123
parent4ddb5d2fde6f22b2cf65f314107e890a7ca14fcf
block/nbd: check that received handle is valid

If we don't have active request, that waiting for this handle to be
received, we should report an error.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210902103805.25686-6-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
block/nbd.c