From: Joakim Koskela <joakim.koskela@hiit.fi>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: netdev@vger.kernel.org, davem@davemloft.net, kaber@trash.net
Subject: Re: [PATCH] netdev: Reset ipv4 flags during bundle creation on interfamily ipsec
Date: Mon, 22 Oct 2007 09:55:53 +0300 [thread overview]
Message-ID: <200710220955.53895.joakim.koskela@hiit.fi> (raw)
In-Reply-To: <E1IisnN-0003rh-00@gondolin.me.apana.org.au>
On Friday 19 October 2007 17:25:49 Herbert Xu wrote:
> Joakim Koskela <joakim.koskela@hiit.fi> wrote:
> > I'm not sure I follow. This affects the ipv6 bundling only where the
> > struct (fl_tunnel) has previously been used for ipv6 addresses. Not that
> > we are using the same block for holding the ipv4 info, the tos-value is
> > really undefined before we reset it.
>
> You're right. But sure the same bug could affect IPv4 as well
> if you had a 4-6-4 configuration. Let me think about this one
> a bit more.
Hi, and thanks for the feedback. True, this one affects only one level of
inter-family, and supporting more would require a lot more changes in the
bundle creation (perhaps combining both versions and taking better into
account the outer family of the last transformation..).
Another quite annoying example of this is that 6 in 4 actually crashes the
kernel on 64 bit, as xfrm_dst_lookup around xfrm6_policy.c:197 changes rt
from a rt6_info to a rtable. On 64 bit, rt->rt61i_node will usually contain
something (due to the larger pointer size), making the path_cookie assignment
on line 208 crash.
I've been trying address this in a proper manner, but it hasn't really
progressed quite the way I've wanted (..thus this shallow patch, just to make
6-4 inter-work in most cases on the standard kernel). Needless to say, any
work done for this would be greatly appreciated :)
next prev parent reply other threads:[~2007-10-22 7:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 11:37 [PATCH] netdev: Netfilters on outgoing interfamily ipsec Joakim Koskela
2007-10-19 11:40 ` [PATCH] netdev: Reset ipv4 flags during bundle creation on " Joakim Koskela
2007-10-19 13:09 ` Herbert Xu
2007-10-19 13:20 ` Joakim Koskela
2007-10-19 14:25 ` Herbert Xu
2007-10-22 6:55 ` Joakim Koskela [this message]
2007-10-22 8:51 ` Herbert Xu
2007-10-19 12:55 ` [PATCH] netdev: Netfilters on outgoing " Herbert Xu
2007-10-19 13:18 ` Joakim Koskela
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=200710220955.53895.joakim.koskela@hiit.fi \
--to=joakim.koskela@hiit.fi \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--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