From: "Svenning Soerensen" <svenning@post5.tele.dk>
To: "David S. Miller" <davem@redhat.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-ipsec@freeswan.org>
Subject: RE: Problem with PMTU discovery on ICMP packets
Date: Sat, 5 May 2001 16:23:18 +0200 [thread overview]
Message-ID: <015401c0d56e$ee293250$1400a8c0@sss.intermate.com> (raw)
In-Reply-To: <15091.59308.315685.312632@pizda.ninka.net>
> From: David S. Miller [mailto:davem@redhat.com]
> I want to understand why on some boots it's on while on some
> boots it is off, that makes no sense.
>
> Before the piece of code you patched, we call ops->create() which is
> inet_create in net/ipv4/af_inet.c, there is sets the PMTU discovery
> disposition based upon the setting in ipv4_config which should always
> have the same setting at the point during boot, every boot.
>
> You need to figure out why it sometimes gets set and sometimes does
> not, then we can figure out how to fix it.
Yes, I see your point. I guess I made an incorrect assumption about it
being changed between reboots. It could be related to routing or something
instead. I'll have to dig a bit further to find a pattern.
However, even if I *do* find the pattern, I still think it is reasonable
to turn off PMTU discovery for ICMP explicitly, instead of based on the
setting of ipv4_config:
1) The setting for the one global ICMP socket gets set once and for all
at initialization time and doesn't track the setting of ip_no_pmtu_disc.
2) Even if it *did* track ip_no_pmtu_disc, the missing per-protocol
granularity of ip_no_pmtu_disc means that you couldn't have PMTU discovery
enabled for TCP, while having it disabled for ICMP.
3) I don't see any reason for wanting to do automatic PMTU discovery for
ICMP packets; normally they are only sent once, and you'll risk it being
dropped somewhere along its path if the DF bit is set.
Svenning
next prev parent reply other threads:[~2001-05-05 14:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-05 11:36 Problem with PMTU discovery on ICMP packets Svenning Soerensen
2001-05-05 11:44 ` David S. Miller
2001-05-05 14:23 ` Svenning Soerensen [this message]
2001-05-05 22:11 ` David S. Miller
2001-05-07 0:19 ` Svenning Soerensen
2001-05-10 1:21 ` David S. Miller
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='015401c0d56e$ee293250$1400a8c0@sss.intermate.com' \
--to=svenning@post5.tele.dk \
--cc=davem@redhat.com \
--cc=linux-ipsec@freeswan.org \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.