From: Daniel Lezcano daniel.lezc...@free.fr
The list is 'lifo', so when we create the network interfaces, we
do this in the reverse order of the expected one. That is confusing.
Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com
---
src/lxc/confile.c |4 ++--
src/lxc/list.h|5 +
Hi,
$ lxc-execute --name net -s lxc.network.type=phys bash
Segmentation fault (core dumped)
The problem is that the netdev structure is mostly uninitialized (only
its type is set to LXC_NET_PHYS), so if_nametoindex() is invoked with a
NULL argument:
static int instanciate_phys(struct lxc_netdev