From: Patrick McHardy <kaber@trash.net>
To: joakim.koskela@hiit.fi
Cc: netdev@vger.kernel.org, David Miller <davem@davemloft.net>
Subject: Re: [PATCH net-2.6.22-rc7] xfrm beet interfamily support
Date: Tue, 17 Jul 2007 18:00:19 +0200 [thread overview]
Message-ID: <469CE793.7020903@trash.net> (raw)
In-Reply-To: <200707171730.21655.joakim.koskela@hiit.fi>
Joakim Koskela wrote:
> On Monday 16 July 2007 21:47:40 Patrick McHardy wrote:
>
>>>diff --git a/net/ipv4/xfrm4_output.c b/net/ipv4/xfrm4_output.c
>>>index 44ef208..8db7910 100644
>>>--- a/net/ipv4/xfrm4_output.c
>>>+++ b/net/ipv4/xfrm4_output.c
>>>@@ -53,7 +53,8 @@ static int xfrm4_output_one(struct sk_buff *skb)
>>> goto error_nolock;
>>> }
>>>
>>>- if (x->props.mode == XFRM_MODE_TUNNEL) {
>>>+ if (x->props.mode == XFRM_MODE_TUNNEL ||
>>>+ x->props.mode == XFRM_MODE_BEET) {
>>> err = xfrm4_tunnel_check_size(skb);
>>
>>Its not a real tunnel and all packets are generated locally, why
>>does it need to send ICMPs?
>
>
> Guess not. I'll have to still trace through, but can probably be removed.
Just FYI: it does make a difference with netfilter since packets
may be NATed to match a policy, but thats a more general problem
that also affects transport mode and should be dealt with within
netfilter, possibly by propagating PMTU values amonst dst_entries.
next prev parent reply other threads:[~2007-07-17 16:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 12:06 [PATCH net-2.6.22-rc7] xfrm beet interfamily support Joakim Koskela
2007-07-16 12:56 ` Arnaldo Carvalho de Melo
2007-07-18 9:18 ` David Miller
2007-07-16 18:47 ` Patrick McHardy
2007-07-17 14:30 ` Joakim Koskela
2007-07-17 16:00 ` Patrick McHardy [this message]
2007-07-19 14:08 ` Joakim Koskela
2007-07-19 14:46 ` Patrick McHardy
2007-07-19 17:54 ` Joakim Koskela
2007-07-19 19:43 ` Patrick McHardy
2007-07-23 16:19 ` [PATCH net-2.6.22-rc7] xfrm state selection update to use inner addresses Joakim Koskela
2007-07-24 14:31 ` Patrick McHardy
2007-07-26 7:08 ` David Miller
2007-07-31 10:39 ` [PATCH net-2.6.22-rc7] xfrm beet interfamily support Joakim Koskela
2007-07-31 10:51 ` Patrick McHardy
2007-07-31 11:08 ` Joakim Koskela
2007-07-31 11:14 ` Patrick McHardy
2007-07-31 12:13 ` Joakim Koskela
2007-08-06 6:49 ` Joakim Koskela
2007-08-06 12:08 ` Patrick McHardy
2007-08-06 13:07 ` Joakim Koskela
2007-08-06 13:21 ` Patrick McHardy
-- strict thread matches above, loose matches on Subject: below --
2007-07-12 9:25 Joakim Koskela
2007-07-15 1:48 ` 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=469CE793.7020903@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=joakim.koskela@hiit.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).