1. 14 Nov, 2013 1 commit
    • setup_netdev: re-read ifindex in LXC_NET_PHYS case · b466dc33
      Bogdan Purcareata authored
      When moving an interface from the host netns to a container's,
      the ifindex might not remain the same. This happens when the
      index of the host interface is already assigned to another interface
      in the new netns.
      
      For veth/vlan/macvlan, virtual interfaces are first created on the host,
      and then moved in the container. Since they are created after all other
      interfaces are discovered, there is no chance for its assigned ifindex
      to be already present in a freshly created netns, because it's a greater
      number.
      
      However, when moving a physical interface, there is a chance that its
      ifindex in the host netns is not free in the new netns. The patch
      forces ifindex re-read for the LXC_NET_PHYS case to update the
      lxc_netdev structure.
      Signed-off-by: 's avatarBogdan Purcareata <bogdan.purcareata@freescale.com>
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
  2. 13 Nov, 2013 1 commit
  3. 12 Nov, 2013 6 commits
  4. 11 Nov, 2013 1 commit
  5. 08 Nov, 2013 4 commits
  6. 06 Nov, 2013 8 commits
  7. 05 Nov, 2013 4 commits
  8. 04 Nov, 2013 5 commits
  9. 01 Nov, 2013 4 commits
  10. 30 Oct, 2013 6 commits