commit | ae36f6a65af6f4eaca01cc5b68d8ecb266dbcc17 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Thu Jan 19 10:43:53 2017 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 17 06:41:57 2017 +0200 |
tree | dfdb28e7d630782feaa5c9a39dfcab7270360360 | |
parent | b13b3b706a9dc03dd1a1c31f8268cd5193c1858c [diff] |
vhost/vsock: handle vhost_vq_init_access() error [ Upstream commit 0516ffd88fa0d006ee80389ce14a9ca5ae45e845 ] Propagate the error when vhost_vq_init_access() fails and set vq->private_data to NULL. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>