Re: [PATCH] fix two bugs in bridge_driver.c

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

 



On 11/11/2011 03:45 AM, Daniel P. Berrange wrote:
> On Fri, Nov 11, 2011 at 04:20:19PM +0800, Hu Tao wrote:

>> The reason is that the function virNetDevExists is now returns 1 if
>> the device exists, comparing to the former one returns 0 if the device
>> exists. But with only this fix will cause a segmentation fault(the same
>> steps as above)  that is fixed by the second chunk of code.
>> ---
>>  src/network/bridge_driver.c |    8 +++++---
>>  1 files changed, 5 insertions(+), 3 deletions(-)
>>
> 
> ACK

Pushed.

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