Re: [PATCH] Fix release of virNetMessagePtr instances in streams processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/30/2011 10:09 AM, Daniel P. Berrange wrote:
> If a message packet for a invalid stream is received it is just
> free'd. This is not good because it doesn't let the client RPC
> request counter decrement. If a stream is shutdown with pending
> packets the message also isn't released properly because of an
> incorrect header type
> 
> * daemon/stream.c: Fix message header type
> * src/rpc/virnetserverprogram.c: Send dummy reply instead of
>   free'ing ignored stream message
> ---
>  daemon/stream.c               |    1 +
>  src/rpc/virnetserverprogram.c |    9 ++++++++-
>  2 files changed, 9 insertions(+), 1 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]