From: "Mika Penttilä" <mika.penttila@kolumbus.fi>
To: Patrick McHardy <kaber@trash.net>
Cc: Beschorner Daniel <Daniel.Beschorner@facton.com>, netdev@vger.kernel.org
Subject: Re: pmtu discovery on SA
Date: Wed, 18 Jul 2007 21:47:24 +0300 [thread overview]
Message-ID: <469E603C.3070308@kolumbus.fi> (raw)
In-Reply-To: <469E5ED2.1060306@trash.net>
Patrick McHardy wrote:
> Mika Penttilä wrote:
>> Hmm. esp4_err() looks like this :
>>
>> struct iphdr *iph = (struct iphdr*)skb->data;
>> struct ip_esp_hdr *esph = (struct
>> ip_esp_hdr*)(skb->data+(iph->ihl<<2));
>> struct xfrm_state *x;
>>
>> if (icmp_hdr(skb)->type != ICMP_DEST_UNREACH ||
>> icmp_hdr(skb)->code != ICMP_FRAG_NEEDED)
>> return;
>>
>> x = xfrm_state_lookup((xfrm_address_t *)&iph->daddr, esph->spi,
>> IPPROTO_ESP, AF_INET);
>> if (!x)
>> return;
>> NETDEBUG(KERN_DEBUG "pmtu discovery on SA ESP/%08x/%08x\n",
>> ntohl(esph->spi), ntohl(iph->daddr));
>> xfrm_state_put(x);
>>
>>
>>
>> where could pmtu discovery be happening?
>
> xfrm_init_pmtu, xfrm_bundle_ok, xfrm_state_mtu, esp4_get_mtu, ...
>
Okay yes but for instance the current tcp session isn't recovering from
from esp4_err() ? The next connect attempt uses the new pmtu?
--Mika
next prev parent reply other threads:[~2007-07-18 18:49 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-15 6:29 IPSec freeze Beschorner Daniel
2007-07-15 15:00 ` Patrick McHardy
2007-07-16 8:27 ` Beschorner Daniel
2007-07-16 13:09 ` Beschorner Daniel
2007-07-16 13:17 ` Patrick McHardy
2007-07-16 13:26 ` Beschorner Daniel
2007-07-16 14:07 ` Patrick McHardy
2007-07-16 14:17 ` Beschorner Daniel
2007-07-16 14:58 ` Patrick McHardy
2007-07-16 14:59 ` Patrick McHardy
2007-07-16 15:18 ` Patrick McHardy
2007-07-16 15:36 ` Beschorner Daniel
2007-07-16 18:12 ` Patrick McHardy
2007-07-17 16:10 ` Patrick McHardy
2007-07-17 19:03 ` Beschorner Daniel
2007-07-17 21:45 ` Patrick McHardy
2007-07-18 12:21 ` pmtu discovery on SA Beschorner Daniel
2007-07-18 13:14 ` Patrick McHardy
2007-07-18 16:13 ` Beschorner Daniel
2007-07-18 16:27 ` Patrick McHardy
2007-07-18 16:56 ` Mika Penttilä
2007-07-18 18:27 ` Patrick McHardy
2007-07-18 18:39 ` Mika Penttilä
2007-07-18 18:41 ` Patrick McHardy
2007-07-18 18:47 ` Mika Penttilä [this message]
2007-07-19 15:51 ` Beschorner Daniel
2007-07-18 8:58 ` IPSec freeze David Miller
2007-07-18 8:58 ` David 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=469E603C.3070308@kolumbus.fi \
--to=mika.penttila@kolumbus.fi \
--cc=Daniel.Beschorner@facton.com \
--cc=kaber@trash.net \
--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).