[libvirt] [PATCH] fix two bugs in bridge_driver.c
Eric Blake
eblake at redhat.com
Fri Nov 11 23:34:14 UTC 2011
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111111/ab831d61/attachment-0001.sig>
More information about the libvir-list
mailing list