diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-01-19 10:43:53 +0000 |
|---|---|---|
| committer | Alistair Strachan <astrachan@google.com> | 2019-01-15 17:08:36 -0800 |
| commit | 7f320a93701c2f2102b4d6675f6f22a4a67a98e2 (patch) | |
| tree | 70090811660a82cebe2b6f518cd8ffffaf136462 /include/linux | |
| parent | d8e26f878c3517d795bc4e847691b568947e9b42 (diff) | |
UPSTREAM: 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>
(cherry picked from commit ae36f6a65af6f4eaca01cc5b68d8ecb266dbcc17)
Bug: 121166534
Test: Ran cuttlefish with android-4.4 + vsock adb tunnel
Signed-off-by: Cody Schuffelen <schuffelen@google.com>
Change-Id: I1e062ae003b92d000967921014a31bfc574632d8
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
