]> git.proxmox.com Git - mirror_lxc.git/commit
network: retrieve correct names and ifindices
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Sep 2017 13:30:28 +0000 (15:30 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Sep 2017 14:08:31 +0000 (16:08 +0200)
commit790255cf8e21fb4f984cb40b943e0ffcf14ef05a
treedb35049194489d5f6fc1e60763f9ccf54e0a2df3
parentc6012571f3b42d80b8400b149d57e1099de47a8f
network: retrieve correct names and ifindices

On privileged network creation we only retrieved the names and ifindeces of
network devices in the host's network namespace. This meant that the monitor
process was acting on possibly incorrect information. With this commit we have
the child send back the correct device names and ifindeces in the container's
network namespace.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c
src/lxc/network.c
src/lxc/network.h
src/lxc/start.c
src/lxc/start.h