]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ipv6: fix RFC5722 comment
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 30 Jan 2012 04:29:24 +0000 (04:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2012 17:58:51 +0000 (12:58 -0500)
RFC5722 Section 4 was amended by Errata 3089

Our implementation did the right thing anyway...

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c

index b69fae76a6f1c18fa326a828b7b47fa8ade3b94c..9447bd69873af6b7bb8979547eab9bd7624b6bd4 100644 (file)
@@ -336,12 +336,11 @@ static int ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb,
        }
 
 found:
-       /* RFC5722, Section 4:
-        *                                  When reassembling an IPv6 datagram, if
+       /* RFC5722, Section 4, amended by Errata ID : 3089
+        *                          When reassembling an IPv6 datagram, if
         *   one or more its constituent fragments is determined to be an
         *   overlapping fragment, the entire datagram (and any constituent
-        *   fragments, including those not yet received) MUST be silently
-        *   discarded.
+        *   fragments) MUST be silently discarded.
         */
 
        /* Check for overlap with preceding fragment. */