From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Denis V. Lunev" Subject: Re: Pid namespaces problems Date: Thu, 08 Nov 2007 13:53:02 +0300 Message-ID: <4732EA8E.7080400@sw.ru> References: <472AE42F.5000602@openvz.org> <47301A14.9040304@openvz.org> <4731772D.3060806@fr.ibm.com> <47317EA7.6030500@free.fr> <4731E3DE.6000501@openvz.org> <4731F4BC.4000203@fr.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4731F4BC.4000203-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Daniel Lezcano Cc: Cedric Le Goater , "Eric W. Biederman" , Linux Containers , "Denis V. Lunev" , Pavel Emelyanov , Benjamin Thery List-Id: containers.vger.kernel.org Daniel Lezcano wrote: > * the first one is the locking of the network namespace list by > rtnl_lock, so from the timer callback we can not browse the network > namespace list to check the age of the routes. It is a problem I would > like to talk with Denis if he has time >From my point of view, the situation is clear. The timer should be per/namespace. The situation is completely different as one in IPv4. > * the loopback refcounting is not correctly handled in ipv6. This > protocol do not expect to have the loopback to be unregistered, so there > is some problem with the addr_ifdown function when exiting the network > namespace I think that default routing targets and similar staff should be dynamically allocated as a start and submitted now. No need to wait NETNS infrastructure. I have sent similar cleanup for fib rules recently. No answer from David yet.