[lxc-devel] [patch -lxc 1/2] fix inverted network interface creation

2010-07-22 Thread Daniel Lezcano
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 +

[lxc-devel] segfault with insufficient network config

2010-07-22 Thread Ferenc Wagner
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