[lxc-devel] [lxc/lxc] 82f58d: Fix instantiation of multiple vlan interfaces with...
    GitHub 
    noreply at github.com
       
    Wed Jan 21 15:34:03 UTC 2015
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 82f58d0396ecb3ffaecbc957a917a87f4e29a938
      https://github.com/lxc/lxc/commit/82f58d0396ecb3ffaecbc957a917a87f4e29a938
  Author: Axel Neumann <neumann at cgws.de>
  Date:   2015-01-13 (Tue, 13 Jan 2015)
  Changed paths:
    M src/lxc/conf.c
  Log Message:
  -----------
  Fix instantiation of multiple vlan interfaces with same id
Container fail to start with configs (as shown below) where the same
vlan id is used for several type=vlan container interfaces.
Then, during the instantiation of the vlan interfaces, an error occurs
because the lxc code tries to assign the same temporary name to both
of them before it is bound into the container.
> lxc.network.type      = vlan
> lxc.network.flags     = up
> lxc.network.link      = eth1
> lxc.network.vlan.id   = 3842
> lxc.network.name      = iso0
>
> lxc.network.type      = vlan
> lxc.network.flags     = up
> lxc.network.link      = eth2
> lxc.network.vlan.id   = 3842
> lxc.network.name      = iso1
Signed-off-by: Axel Neumann <neumann at cgws.de>
  Commit: 6b1aa947ad5b92a8415aa204b020462abdb183b4
      https://github.com/lxc/lxc/commit/6b1aa947ad5b92a8415aa204b020462abdb183b4
  Author: hallyn <serge at hallyn.com>
  Date:   2015-01-21 (Wed, 21 Jan 2015)
  Changed paths:
    M src/lxc/conf.c
  Log Message:
  -----------
  Merge pull request #397 from axn/master
Fix instantiation of multiple vlan interfaces with same id
Compare: https://github.com/lxc/lxc/compare/4662c6dee0b2...6b1aa947ad5b
    
    
More information about the lxc-devel
mailing list