diff options
| author | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2016-02-16 15:54:28 +0100 |
|---|---|---|
| committer | Alistair Strachan <astrachan@google.com> | 2019-05-14 17:56:52 -0700 |
| commit | b8e64a0e093f05fd5bb44764ab5adeca2a4f8c3f (patch) | |
| tree | 4737e79be7d0c3429d7f7aecdba6dc3e9be1f2ca /lib/memory-notifier-error-inject.c | |
| parent | 9952f731f9849d64535a4d6b8306cf683990f77e (diff) | |
UPSTREAM: vhost: fix error path in vhost_init_used()
We don't want side effects. If something fails, we rollback vq->is_le to
its previous value.
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit e1f33be9186363da7955bcb5f0b03e6685544c50)
Bug: 121166534
Test: Ran cuttlefish with android-4.4 + VSOCKETS, VMWARE_VMCI_VSOCKETS
Signed-off-by: Alistair Strachan <astrachan@google.com>
Change-Id: I18c57e5c78aa3e89d267213770f915a5a5c76100
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
