* Re: [PATCH] IPv6, sit: set prefix length 64 for link-local addresses [not found] <20030926175405.GA31498@wsx.ksp.sk> @ 2003-09-27 3:19 ` David S. Miller 2003-10-05 9:18 ` Jan Oravec 0 siblings, 1 reply; 4+ messages in thread From: David S. Miller @ 2003-09-27 3:19 UTC (permalink / raw) To: Jan Oravec; +Cc: netdev On Fri, 26 Sep 2003 19:54:05 +0200 Jan Oravec <jan.oravec@6com.sk> wrote: > please apply the following patch. > > It sets the prefix length 64 instead of 128 for link-local addresses on sit interfaces. I've seen this patch before, and I remember it being rejected by other ipv6 developers. Do the USAGI or other folks remember what is going on here? ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] IPv6, sit: set prefix length 64 for link-local addresses 2003-09-27 3:19 ` [PATCH] IPv6, sit: set prefix length 64 for link-local addresses David S. Miller @ 2003-10-05 9:18 ` Jan Oravec 2003-10-05 12:28 ` YOSHIFUJI Hideaki / 吉藤英明 0 siblings, 1 reply; 4+ messages in thread From: Jan Oravec @ 2003-10-05 9:18 UTC (permalink / raw) To: David S. Miller; +Cc: netdev, yoshfuji Hello, The mail with the patch was not delivered to netdev ML for some reasons. Resending it.. The function sit_add_v4_addrs() calls ipv6_add_addr() with plen 64 if local endpoint of tunnel is not configured, so I do not see a reason to set plen to 128 if local endpoint is configured. We are running patched kernel in our test-lab for about week and it is working fine. On Fri, Sep 26, 2003 at 08:19:53PM -0700, David S. Miller wrote: > On Fri, 26 Sep 2003 19:54:05 +0200 > Jan Oravec <jan.oravec@6com.sk> wrote: > > > please apply the following patch. > > > > It sets the prefix length 64 instead of 128 for link-local addresses on sit interfaces. > > I've seen this patch before, and I remember it being rejected > by other ipv6 developers. > > Do the USAGI or other folks remember what is going on here? --- linux/net/ipv6/addrconf.c.orig 2003-09-08 21:50:29.000000000 +0200 +++ linux/net/ipv6/addrconf.c 2003-09-26 19:37:27.000000000 +0200 @@ -1681,7 +1681,7 @@ } if (addr.s6_addr32[3]) { - ifp = ipv6_add_addr(idev, &addr, 128, scope, IFA_F_PERMANENT); + ifp = ipv6_add_addr(idev, &addr, 64, scope, IFA_F_PERMANENT); if (!IS_ERR(ifp)) { spin_lock_bh(&ifp->lock); ifp->flags &= ~IFA_F_TENTATIVE; Best Regards, -- Jan Oravec 6COM s.r.o. http://www.6com.sk ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] IPv6, sit: set prefix length 64 for link-local addresses 2003-10-05 9:18 ` Jan Oravec @ 2003-10-05 12:28 ` YOSHIFUJI Hideaki / 吉藤英明 2003-10-05 12:35 ` Jan Oravec 0 siblings, 1 reply; 4+ messages in thread From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-10-05 12:28 UTC (permalink / raw) To: jan.oravec; +Cc: davem, netdev In article <20031005091844.GA23676@wsx.ksp.sk> (at Sun, 5 Oct 2003 11:18:45 +0200), Jan Oravec <jan.oravec@6com.sk> says: > The function sit_add_v4_addrs() calls ipv6_add_addr() with plen 64 if local > endpoint of tunnel is not configured, so I do not see a reason to set plen > to 128 if local endpoint is configured. This patch seems logically wrong. --yoshfuji ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] IPv6, sit: set prefix length 64 for link-local addresses 2003-10-05 12:28 ` YOSHIFUJI Hideaki / 吉藤英明 @ 2003-10-05 12:35 ` Jan Oravec 0 siblings, 0 replies; 4+ messages in thread From: Jan Oravec @ 2003-10-05 12:35 UTC (permalink / raw) To: YOSHIFUJI Hideaki / ?$B5HF#1QL@; +Cc: davem, netdev On Sun, Oct 05, 2003 at 09:28:46PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote: > In article <20031005091844.GA23676@wsx.ksp.sk> (at Sun, 5 Oct 2003 11:18:45 +0200), Jan Oravec <jan.oravec@6com.sk> says: > > > The function sit_add_v4_addrs() calls ipv6_add_addr() with plen 64 if local > > endpoint of tunnel is not configured, so I do not see a reason to set plen > > to 128 if local endpoint is configured. > > This patch seems logically wrong. You mean the text above (current kernel implementation) or the patch which sets it to 64 in both cases? If the patch is wrong, can you explain why? Jan ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-05 12:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20030926175405.GA31498@wsx.ksp.sk>
2003-09-27 3:19 ` [PATCH] IPv6, sit: set prefix length 64 for link-local addresses David S. Miller
2003-10-05 9:18 ` Jan Oravec
2003-10-05 12:28 ` YOSHIFUJI Hideaki / 吉藤英明
2003-10-05 12:35 ` Jan Oravec
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).