From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Howard Chu <hyc@symas.com>
Cc: David Miller <davem@davemloft.net>,
rick.jones2@hp.com, dada1@cosmosbay.com, netdev@vger.kernel.org
Subject: Re: TCP 2MSL on loopback
Date: Tue, 6 Mar 2007 14:54:03 -0800 [thread overview]
Message-ID: <20070306145403.6be2c437@freekitty> (raw)
In-Reply-To: <45EDE60D.1030706@symas.com>
On Tue, 06 Mar 2007 14:07:09 -0800
Howard Chu <hyc@symas.com> wrote:
> David Miller wrote:
> > From: Rick Jones <rick.jones2@hp.com>
> > Date: Tue, 06 Mar 2007 13:25:35 -0800
> >
> >>> On the other hand, being able to configure a small MSL for the loopback
> >>> device is perfectly safe. Being able to configure a small MSL for other
> >>> interfaces may be safe, depending on the rest of the network layout.
> >> A peanut gallery question - I seem to recall prior discussions about how
> >> one cannot assume that a packet destined for a given IP address will
> >> remain detined for that given IP address as it could go through a module
> >> that will rewrite headers etc.
> >
> > That's right, both netfilter and the packet scheduler actions
> > can do that, that's why this whole idea about changing the MSL
> > on loopback by default is wrong and pointless.
>
> If the headers get rewritten and the packet gets directed elsewhere,
> then we're no longer talking about a loopback connection, so that's
> outside the discussion.
>
> If the packet gets munged by multiple filters but still eventually gets
> to the specified destination, OK. But regardless, if both endpoints of
> the connection are on the loopback device, then there is nothing wrong
> with the idea. Those filters can only do so much, they still have to
> preserve the reliable in-order delivery semantics of TCP, otherwise the
> system is broken.
>
> It may not have much use, sure, I admitted that much from the outset.
>
> So I'll leave it at this, thanks for the feedback.
TCP can not assume anything about the path that a packet may take.
We have declared a moratorium on loopback benchmark foolishness.
Go optimize the idle loop instead ;-)
--
Stephen Hemminger <shemminger@linux-foundation.org>
next prev parent reply other threads:[~2007-03-06 22:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <45EBFD13.1060106@symas.com>
2007-03-05 14:28 ` TCP 2MSL on loopback Eric Dumazet
2007-03-05 15:09 ` [PATCH] twcal_jiffie should be unsigned long, not int Eric Dumazet
2007-03-05 21:33 ` David Miller
2007-03-06 9:22 ` TCP 2MSL on loopback Howard Chu
2007-03-06 10:42 ` Eric Dumazet
2007-03-06 18:39 ` Howard Chu
2007-03-06 20:07 ` Eric Dumazet
2007-03-06 20:28 ` Howard Chu
2007-03-06 20:39 ` Eric Dumazet
2007-03-06 21:05 ` Howard Chu
2007-03-06 21:25 ` Rick Jones
2007-03-06 21:35 ` David Miller
2007-03-06 22:07 ` Howard Chu
2007-03-06 22:54 ` Stephen Hemminger [this message]
2007-03-06 23:22 ` Howard Chu
2007-03-06 18:04 ` David Miller
2007-03-06 18:46 ` Rick Jones
2007-03-06 19:25 ` Howard Chu
2007-03-06 20:41 ` Rick Jones
2007-03-07 3:36 ` Howard Chu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070306145403.6be2c437@freekitty \
--to=shemminger@linux-foundation.org \
--cc=dada1@cosmosbay.com \
--cc=davem@davemloft.net \
--cc=hyc@symas.com \
--cc=netdev@vger.kernel.org \
--cc=rick.jones2@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).