Re: [PATCH][RESEND] IPv6: 6rd tunnel mode
From: Alexandre Cassen <hidden>
Date: 2009-09-22 07:00:09
Hi Brian, On Mon, 2009-09-21 at 22:39 -0400, Brian Haley wrote:
Hi Alexandre, Alexandre Cassen wrote:quoted
This patch add support to 6rd tunnel mode currently targetting standard track at the IETF. IPv6 rapid deployment (RFC5569) builds upon mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly deploy IPv6 unicast service to IPv4 sites to which it provides customer premise equipment. Like 6to4, it utilizes stateless IPv6 in IPv4 encapsulation in order to transit IPv4-only network infrastructure. Unlike 6to4, a 6rd service provider uses an IPv6 prefix of its own in place of the fixed 6to4 prefix.I couldn't find RFC 5569 (delayed due to IPR rights?), although I did find the latest 6rd draft, -03. It was showing as Informational, not Standards track, is that right? Just curious.
In fact there is currently two draft : 1) https://datatracker.ietf.org/idtracker/draft-despres-6rd/ This draft is targeting informational RFC as an independent submission. It is currently queued and has been delayed since may for IPR. 2) http://tools.ietf.org/html/draft-townsley-ipv6-6rd-01 This draft is targeting standard track so work is in progress here. A good sum up has been done by Mark Townsley at last IETF meeting : http://www.ietf.org/proceedings/75/slides/dhc-4.pdf
quoted
+ case SIOCADD6RD: + case SIOCCHG6RD: + if (ip6rd.prefixlen >= 95) { + err = -EINVAL; + goto done; + } + t->ip6rd_prefix.addr = ip6rd.addr;ipv6_addr_copy(&t->ip6rd_prefix.addr, &ip6rd.addr); is the preferred way to copy the address.
agreed. will fix and resend. regs, Alexandre