Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c5316d603069e161a874eda003e5e912fc3747f7
https://github.com/lxc/lxc/commit/c5316d603069e161a874eda003e5e912fc3747f7
Author: Serge Hallyn <[email protected]>
Date: 2014-07-14 (Mon, 14 Jul 2014)
Changed paths:
M src/lxc/confile.c
Log Message:
-----------
confile: sanity-check netdev->type before setting netdev->priv elements
The netdev->priv is shared for the netdev types. A bad config file
could mix configuration for different types, resulting in a bad
netdev->priv when starting or even destroying a container. So sanity
check the netdev->type before setting a netdev->priv element.
This should fix https://github.com/lxc/lxc/issues/254
Signed-off-by: Serge Hallyn <[email protected]>
Acked-by: Stéphane Graber <[email protected]>
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel