diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-05-15 12:00:54 +0200 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2017-05-16 10:34:17 -0400 |
commit | 34db05e7ffe8d61ca7288b9532ad6e8300853318 (patch) | |
tree | c62780f726cfa639dbdbaee15c64169628dee9c1 /qapi/qapi-util.c | |
parent | 675a775633e68bf8b426a896fea5b93a4f4ff1cc (diff) | |
download | qemu-34db05e7ffe8d61ca7288b9532ad6e8300853318.zip qemu-34db05e7ffe8d61ca7288b9532ad6e8300853318.tar.gz qemu-34db05e7ffe8d61ca7288b9532ad6e8300853318.tar.bz2 |
curl: never invoke callbacks with s->mutex held
All curl callbacks go through curl_multi_do, and hence are called with
s->mutex held. Note that with comments, and make curl_read_cb drop the
lock before invoking the callback.
Likewise for curl_find_buf, where the callback can be invoked by the
caller.
Cc: qemu-stable@nongnu.org
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20170515100059.15795-3-pbonzini@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'qapi/qapi-util.c')
0 files changed, 0 insertions, 0 deletions