netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Timo Teräs" <timo.teras@iki.fi>
To: netdev@vger.kernel.org
Subject: linux-3.0.x regression with ipv4 routes having mtu
Date: Wed, 14 Dec 2011 17:54:16 +0200	[thread overview]
Message-ID: <4EE8C6A8.3060308@iki.fi> (raw)

Hi,

I'm testing linux-3.0.10 and it appears to have a mtu bug with ipv4.
There was recent funniness in ipv6 side as well [1,2], but this seems
quite different.

Basically, doing something like (ipA being the IPv4 host):
 1. do a tcp session to ipA (telnet to open ipv4 port, chat, close)
 2. "ip route get ipA" to see the route cache entry
 3. "ip route add ipA via (whatever was the router) mtu 1400"
 4. "ip route flush cache"
 5. "ip route get ipA" and you still get the old same info as in step 2:
    the mtu was not updated
    (btw. how long the tcp info from step 1 gets cached? is it tunable?)

So something is does not get updated here. This used to work though.
The current production boxes where I know this work is 2.6.38.8.

Sounds like the TCP info is used if it exists. But it never gets updated
after it's gone, and the new MTU is not being updated.

- Timo

[1] http://www.spinics.net/lists/netdev/msg174468.html
[2] http://marc.info/?l=linux-netdev&m=131529445904858

             reply	other threads:[~2011-12-14 15:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14 15:54 Timo Teräs [this message]
2011-12-14 17:50 ` linux-3.0.x regression with ipv4 routes having mtu David Miller
2011-12-14 17:57   ` Eric Dumazet
2011-12-14 18:22   ` Timo Teräs
2011-12-15 13:49   ` Steffen Klassert
2011-12-16 12:21     ` Steffen Klassert
2011-12-16 14:30       ` Timo Teräs
2011-12-19 13:52         ` Steffen Klassert
2011-12-19 20:09           ` David Miller
2011-12-20  8:03             ` Steffen Klassert
2011-12-19 21:10       ` David Miller
2011-12-20  6:53         ` Timo Teräs
2011-12-20  7:03           ` David Miller
2011-12-20  7:18             ` Steffen Klassert
2011-12-20 18:35               ` David Miller
2011-12-21  8:56                 ` Steffen Klassert
2011-12-21 20:56                   ` David Miller
2011-12-22 10:25                     ` Steffen Klassert
2011-12-22 18:51                       ` David Miller
2011-12-23  8:47                         ` Steffen Klassert
2011-12-23  9:00                           ` David Miller
2011-12-23  8:58                       ` Steffen Klassert
2012-02-02 10:01                     ` Steffen Klassert

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=4EE8C6A8.3060308@iki.fi \
    --to=timo.teras@iki.fi \
    --cc=netdev@vger.kernel.org \
    /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).