[Devel] Re: [patch 3/3][NETNS45][V2] remove timewait sockets at cleanup

2007-09-27 Thread Denis V. Lunev
Daniel Lezcano wrote: > local_bh_disable(); > > /* Browse the the established hash table */ > for (h = 0; h < (tcp_hashinfo.ehash_size); h++) { >struct inet_ehash_bucket *head = >inet_ehash_bucket(&tcp_hashinfo, h); > restart: > write_lock(&head->lo

[Devel] Re: [patch 3/3][NETNS45][V2] remove timewait sockets at cleanup

2007-09-27 Thread Daniel Lezcano
Denis V. Lunev wrote: Daniel Lezcano wrote: From: Daniel Lezcano <[EMAIL PROTECTED]> Denis Lunev spotted that if we take a reference to the network namespace with the timewait sockets, we will need to wait for their expiration to have the network namespace freed. This is a waste of time, the ti

[Devel] Re: [patch 3/3][NETNS45][V2] remove timewait sockets at cleanup

2007-09-27 Thread Denis V. Lunev
Daniel Lezcano wrote: > From: Daniel Lezcano <[EMAIL PROTECTED]> > > Denis Lunev spotted that if we take a reference to the network namespace > with the timewait sockets, we will need to wait for their expiration to > have the network namespace freed. This is a waste of time, the timewait > socket