summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@linux.vnet.ibm.com>2016-02-16 15:54:28 +0100
committerAlistair Strachan <astrachan@google.com>2019-01-15 17:08:33 -0800
commit6ef11fba4c33622efd6cd11a23a7a532d5f64f05 (patch)
treeec101bc10b576b99b10fbce0530d68625542d915 /lib/test-string_helpers.c
parentc7c7d1506cb8ac3714afce21912447601299014b (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/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions