From: Stephen Hemminger <shemminger@linux-foundation.org>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>
Cc: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>,
netdev@vger.kernel.org
Subject: Re: [PATCH 04/05] ipv6: RFC4214 Support
Date: Wed, 7 Nov 2007 10:45:24 -0800 [thread overview]
Message-ID: <20071107104524.2bd738cb@freepuppy.rosehill> (raw)
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A1029EDBF3@XCH-NW-7V2.nw.nos.boeing.com>
On Wed, 7 Nov 2007 10:41:49 -0800
"Templin, Fred L" <Fred.L.Templin@boeing.com> wrote:
> Yoshifuji,
>
> > -----Original Message-----
> > From: YOSHIFUJI Hideaki / 吉藤英明 [mailto:yoshfuji@linux-ipv6.org]
> > Sent: Wednesday, November 07, 2007 10:37 AM
> > To: Templin, Fred L
> > Cc: netdev@vger.kernel.org; yoshfuji@linux-ipv6.org
> > Subject: Re: [PATCH 04/05] ipv6: RFC4214 Support
> >
> > Hello.
> >
> > In article
> > <39C363776A4E8C4A94691D2BD9D1C9A1029EDBE5@XCH-NW-7V2.nw.nos.bo
> > eing.com> (at Tue, 6 Nov 2007 17:16:11 -0800), "Templin, Fred
> > L" <Fred.L.Templin@boeing.com> says:
> >
> > > @@ -154,6 +155,14 @@ static struct ip_tunnel * ipip6_tunnel_l
> > > struct net_device *dev;
> > > char name[IFNAMSIZ];
> > >
> > > +#if defined(CONFIG_IPV6_ISATAP)
> > > + /* ISATAP (RFC4214) - router address in daddr */
> > > + if (!strncmp(parms->name, "isatap", 6)) {
> > > + parms->i_key = parms->iph.daddr;
> > > + parms->iph.daddr = remote = 0;
> > > + }
> > > +#endif
> > > +
> > > for (tp = __ipip6_bucket(parms); (t = *tp) != NULL; tp =
> > > &t->next) {
> > > if (local == t->parms.iph.saddr && remote ==
> > > t->parms.iph.daddr)
> > > return t;
> >
> > I do not think it is a good idea to change the behavior based on
> > the interface name.
>
> The goal was to avoid requiring changes to applications such as
> 'iproute2', i.e., the intention was for a standalone code insertion point
> within the kernel itself. What do you suggest?
Agreed, magic names are evil.
Change iproute2 utilities, if it is more logical for administration.
--
Stephen Hemminger <shemminger@linux-foundation.org>
next prev parent reply other threads:[~2007-11-07 18:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 1:16 [PATCH 04/05] ipv6: RFC4214 Support Templin, Fred L
2007-11-07 16:16 ` Templin, Fred L
2007-11-07 18:36 ` YOSHIFUJI Hideaki / 吉藤英明
2007-11-07 18:41 ` Templin, Fred L
2007-11-07 18:45 ` Stephen Hemminger [this message]
2007-11-07 19:12 ` Templin, Fred L
2007-11-08 14:26 ` YOSHIFUJI Hideaki / 吉藤英明
2007-11-08 21:01 ` Templin, Fred L
2007-11-08 23:30 ` David Miller
2007-11-10 20:56 ` Andi Kleen
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=20071107104524.2bd738cb@freepuppy.rosehill \
--to=shemminger@linux-foundation.org \
--cc=Fred.L.Templin@boeing.com \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.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