Re: [PATCH] Fix a reference leak for node devices.

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

 



2010/6/25 Laine Stump <laine@xxxxxxxxx>:
> On 06/25/2010 05:22 PM, Chris Lalancette wrote:
>>
>> There was one major, and a few minor bugs having to do with
>> the reference counting of node devices in daemon/remote.c
>> The major bug was that remoteDispatchNodeDeviceListCaps()
>> was completely failing to unreference node devices; this
>> would lead to many open file descriptors, which would eventually
>> fail.
>>
>> The minor bugs were along the same lines, but were in rarely
>> used error paths.  Still, they should be corrected.
>>
>> Signed-off-by: Chris Lalancette<clalance@xxxxxxxxxx>
>> ---

>
> ACK for the ones that are here. But what about the other NodeDevice
> functions:
>
>  remoteDispatchNodeDeviceDettach
>  remoteDispatchNodeDeviceReAttach
>  remoteDispatchNodeDeviceReset
>  remoteDispatchNodeDeviceDestroy
>
> Don't those need the same treatment?
>

Yes. I squashed in my additional ACKed patch for this, tweak the
commit message a bit to reflect this and pushed the result.

Matthias

--
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]