OpenVZ Forum


Home » Mailing lists » Devel » [patch 0/3][NETNS45][V2] remove timewait sockets at namespace exit
Re: [patch 1/3][NETNS45][V2] add a reference to the netns for timewait [message #20891 is a reply to message #20882] Thu, 27 September 2007 12:34 Go to previous messageGo to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
Daniel Lezcano wrote:
> From: Daniel Lezcano <dlezcano@fr.ibm.com>
> 
> When a socket changes to a timewait socket, the network namespace
> is not copied from the original socket.
> 
> Here we hold a usage reference, not the ref count on the network
> namespace, so the network namespace will be freed either the usage
> reference is not 0. The network namespace cleanup function will 
> fail if there is any usage of it. In this case, we should ensure
> there is no usage of the network namespace.
> 
> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Acked-by: Denis V. Lunev <den@openvz.org>
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH -mm] Hook up group scheduler with control groups
Next Topic: [patch 0/2][NETNS45][V3] remove timewait sockets at namespace exit
Goto Forum:
  


Current Time: Tue Oct 07 20:30:33 GMT 2025

Total time taken to generate the page: 0.23998 seconds