[Devel] Re: [patch 1/3][NETNS45][V2] add a reference to the netns for timewait

Denis V. Lunev den at sw.ru
Thu Sep 27 05:34:51 PDT 2007


Daniel Lezcano wrote:
> From: Daniel Lezcano <dlezcano at 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 at fr.ibm.com>
Acked-by: Denis V. Lunev <den at openvz.org>
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list