Commit bb923b74 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji Committed by David S. Miller

[IPV6]: Update RFC references.

parent 362807fc
...@@ -1140,7 +1140,7 @@ static int __ipv6_regen_rndid(struct inet6_dev *idev) ...@@ -1140,7 +1140,7 @@ static int __ipv6_regen_rndid(struct inet6_dev *idev)
* *
* - Reserved subnet anycast (RFC 2526) * - Reserved subnet anycast (RFC 2526)
* 11111101 11....11 1xxxxxxx * 11111101 11....11 1xxxxxxx
* - ISATAP (draft-ietf-ngtrans-isatap-01.txt) 4.3 * - ISATAP (draft-ietf-ngtrans-isatap-13.txt) 5.1
* 00-00-5E-FE-xx-xx-xx-xx * 00-00-5E-FE-xx-xx-xx-xx
* - value 0 * - value 0
* - XXX: already assigned to an address on the device * - XXX: already assigned to an address on the device
......
...@@ -405,7 +405,7 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr) ...@@ -405,7 +405,7 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr)
Hop-by-hop options. Hop-by-hop options.
**********************************/ **********************************/
/* Router Alert as of draft-ietf-ipngwg-ipv6router-alert-04 */ /* Router Alert as of RFC 2711 */
static int ipv6_hop_ra(struct sk_buff *skb, int optoff) static int ipv6_hop_ra(struct sk_buff *skb, int optoff)
{ {
...@@ -684,7 +684,7 @@ int ipv6_ext_hdr(u8 nexthdr) ...@@ -684,7 +684,7 @@ int ipv6_ext_hdr(u8 nexthdr)
/* /*
* Skip any extension headers. This is used by the ICMP module. * Skip any extension headers. This is used by the ICMP module.
* *
* Note that strictly speaking this conflicts with RFC1883 4.0: * Note that strictly speaking this conflicts with RFC 2460 4.0:
* ...The contents and semantics of each extension header determine whether * ...The contents and semantics of each extension header determine whether
* or not to proceed to the next header. Therefore, extension headers must * or not to proceed to the next header. Therefore, extension headers must
* be processed strictly in the order they appear in the packet; a * be processed strictly in the order they appear in the packet; a
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* yoshfuji : fix format of router-alert option * yoshfuji : fix format of router-alert option
* YOSHIFUJI Hideaki @USAGI: * YOSHIFUJI Hideaki @USAGI:
* Fixed source address for MLD message based on * Fixed source address for MLD message based on
* <draft-ietf-magma-mld-source-02.txt>. * <draft-ietf-magma-mld-source-05.txt>.
* YOSHIFUJI Hideaki @USAGI: * YOSHIFUJI Hideaki @USAGI:
* - Ignore Queries for invalid addresses. * - Ignore Queries for invalid addresses.
* - MLD for link-local addresses. * - MLD for link-local addresses.
...@@ -1227,7 +1227,7 @@ static struct sk_buff *mld_newpack(struct net_device *dev, int size) ...@@ -1227,7 +1227,7 @@ static struct sk_buff *mld_newpack(struct net_device *dev, int size)
} }
if (ipv6_get_lladdr(dev, &addr_buf)) { if (ipv6_get_lladdr(dev, &addr_buf)) {
/* <draft-ietf-magma-mld-source-02.txt>: /* <draft-ietf-magma-mld-source-05.txt>:
* use unspecified address as the source address * use unspecified address as the source address
* when a valid link-local address is not available. * when a valid link-local address is not available.
*/ */
...@@ -1559,7 +1559,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type) ...@@ -1559,7 +1559,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type)
} }
if (ipv6_get_lladdr(dev, &addr_buf)) { if (ipv6_get_lladdr(dev, &addr_buf)) {
/* <draft-ietf-magma-mld-source-02.txt>: /* <draft-ietf-magma-mld-source-05.txt>:
* use unspecified address as the source address * use unspecified address as the source address
* when a valid link-local address is not available. * when a valid link-local address is not available.
*/ */
......
...@@ -67,7 +67,7 @@ struct snmp6_item ...@@ -67,7 +67,7 @@ struct snmp6_item
#define SNMP6_SENTINEL { .name = NULL, .offset = 0 } #define SNMP6_SENTINEL { .name = NULL, .offset = 0 }
static struct snmp6_item snmp6_ipv6_list[] = { static struct snmp6_item snmp6_ipv6_list[] = {
/* ipv6 mib according to draft-ietf-ipngwg-ipv6-mib-04 */ /* ipv6 mib according to RFC 2465 */
#define SNMP6_GEN(x) { .name = #x , .offset = offsetof(struct ipv6_mib, x) } #define SNMP6_GEN(x) { .name = #x , .offset = offsetof(struct ipv6_mib, x) }
SNMP6_GEN(Ip6InReceives), SNMP6_GEN(Ip6InReceives),
SNMP6_GEN(Ip6InHdrErrors), SNMP6_GEN(Ip6InHdrErrors),
...@@ -96,7 +96,7 @@ static struct snmp6_item snmp6_ipv6_list[] = { ...@@ -96,7 +96,7 @@ static struct snmp6_item snmp6_ipv6_list[] = {
}; };
static struct snmp6_item snmp6_icmp6_list[] = { static struct snmp6_item snmp6_icmp6_list[] = {
/* icmpv6 mib according to draft-ietf-ipngwg-ipv6-icmp-mib-02 /* icmpv6 mib according to RFC 2466
Exceptions: {In|Out}AdminProhibs are removed, because I see Exceptions: {In|Out}AdminProhibs are removed, because I see
no good reasons to account them separately no good reasons to account them separately
......
...@@ -912,7 +912,7 @@ void rt6_redirect(struct in6_addr *dest, struct in6_addr *saddr, ...@@ -912,7 +912,7 @@ void rt6_redirect(struct in6_addr *dest, struct in6_addr *saddr,
goto out; goto out;
/* /*
* RFC 1970 specifies that redirects should only be * RFC 2461 specifies that redirects should only be
* accepted if they come from the nexthop to the target. * accepted if they come from the nexthop to the target.
* Due to the way default routers are chosen, this notion * Due to the way default routers are chosen, this notion
* is a bit fuzzy and one might need to check all default * is a bit fuzzy and one might need to check all default
......
...@@ -420,7 +420,7 @@ static int ipip6_rcv(struct sk_buff *skb) ...@@ -420,7 +420,7 @@ static int ipip6_rcv(struct sk_buff *skb)
} }
/* Returns the embedded IPv4 address if the IPv6 address /* Returns the embedded IPv4 address if the IPv6 address
comes from 6to4 (draft-ietf-ngtrans-6to4-04) addr space */ comes from 6to4 (RFC 3056) addr space */
static inline u32 try_6to4(struct in6_addr *v6dst) static inline u32 try_6to4(struct in6_addr *v6dst)
{ {
......
...@@ -666,7 +666,7 @@ static int udpv6_rcv(struct sk_buff **pskb, unsigned int *nhoffp) ...@@ -666,7 +666,7 @@ static int udpv6_rcv(struct sk_buff **pskb, unsigned int *nhoffp)
goto short_packet; goto short_packet;
if (uh->check == 0) { if (uh->check == 0) {
/* IPv6 draft-v2 section 8.1 says that we SHOULD log /* RFC 2460 section 8.1 says that we SHOULD log
this error. Well, it is reasonable. this error. Well, it is reasonable.
*/ */
if (net_ratelimit()) if (net_ratelimit())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment