[libvirt] [PATCH] Ensure async packets never get marked for sync replies
Eric Blake
eblake at redhat.com
Tue Aug 16 23:49:27 UTC 2011
On 08/16/2011 05:25 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"<berrange at redhat.com>
>
> If a client had initiated a stream abort, it will have a call
> waiting for a reply in the queue. If more data continues to
> arrive on the stream, the abort command could mistakenly get
> signalled as complete. Remove the code from async data processing
> that looked for waiting calls. Add a sanity check to ensure no
> async call can ever be marked as needing a reply
>
> * src/rpc/virnetclient.c: Ensure async data packets can't
> trigger a reply
> ---
> src/rpc/virnetclient.c | 12 +++++++-----
> 1 files changed, 7 insertions(+), 5 deletions(-)
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list