]> git.ipfire.org Git - thirdparty/lxc.git/commit
Check the kernel feature
authordlezcano <dlezcano>
Sun, 25 Jan 2009 23:29:24 +0000 (23:29 +0000)
committerdlezcano <dlezcano>
Sun, 25 Jan 2009 23:29:24 +0000 (23:29 +0000)
commitcf445de3622ecaed653a1e1b7d3a196081932301
treedbb1cbfec97929297b79cab2cbf788ce0b01724e
parentcef07149cd5feed6eb6700177d7ab52f43162893
Check the kernel feature

From: Daniel Lezcano <daniel.lezcano@free.fr>

The virtual devices are automatically destroyed when the network namespace
dies for the kernel version >= 2.6.29. Until this version the network devices
have to be destroyed by lxc. This modification checks the version of the
kernel to make lxc to destroy the network devices or not.

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
config/acinclude.m4
configure.in