From: David Lamparter Subject: Re: RFC Hanging clean-up of a namespace Date: Thu, 19 Jan 2012 22:47:18 +0100 Message-ID: <20120119214718.GC3347849@jupiter.n2.diac24.net> References: <20120119192541.GM2262734@jupiter.n2.diac24.net> <20120119.143105.735366189369504929.davem@davemloft.net> <20120119195349.GN2262734@jupiter.n2.diac24.net> <20120119.152752.318442465605898328.davem@davemloft.net> <20120119214052.GA12249@hell> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Eric W. Biederman" , David Miller , equinox@diac24.net, hans.schillstrom@ericsson.com, netdev@vger.kernel.org To: Hagen Paul Pfeifer Return-path: Received: from spaceboyz.net ([87.106.131.203]:60373 "EHLO spaceboyz.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754373Ab2ASVr2 (ORCPT ); Thu, 19 Jan 2012 16:47:28 -0500 Content-Disposition: inline In-Reply-To: <20120119214052.GA12249@hell> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jan 19, 2012 at 10:40:53PM +0100, Hagen Paul Pfeifer wrote: > * Eric W. Biederman | 2012-01-19 13:24:13 [-0800]: > > >This thread is a fascinating disconnect from reality all of the way > >around. > > > >- inet_twsk_purge already implements throwing out of timewait sockets > > when a network namespaces is being cleaned up. So the RFC is nonsense. > > This is how it is implemented, not how it should be. TIME_WAIT is not the > problem, it is there to keep the stack from sending wrong RST messages. Maybe > the 2*MSL could be fixed by a more accurate 2*RTT. I may have made that argument hidden behind a joke, but please refer to the development of RFC 793's bootup "quiet time". The reason no one sticks to this quiet time is that TCP timestamps have obsoleted it by providing a better frame of reference. Refer to RFC 1323 Appendix B "DUPLICATES FROM EARLIER CONNECTION INCARNATIONS". -David