[libvirt] [PATCH] Fix allocation of veth's to not skip an index

Eric Blake eblake at redhat.com
Tue Jun 7 13:42:18 UTC 2011


On 06/07/2011 07:35 AM, Daniel P. Berrange wrote:
> The algorithm for autoassigning vethXXX devices, was always
> skipping over the starting dev index when finding a free
> name for the guest device. This should only be done if the host
> device was autoallocated.
> 
> * src/lxc/veth.c: Don't skip over veth indexes
> ---
>  src/lxc/veth.c |   14 +++++++++-----
>  1 files changed, 9 insertions(+), 5 deletions(-)

ACK.

-- 
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: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110607/b366aa4c/attachment-0001.sig>


More information about the libvir-list mailing list