Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 Remove misleading comment.



details:   https://anonhg.NetBSD.org/src/rev/101ee8fc9228
branches:  trunk
changeset: 319153:101ee8fc9228
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat May 19 06:44:08 2018 +0000

description:
Remove misleading comment.

diffstat:

 sys/netinet6/ip6_input.c |  15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)

diffs (36 lines):

diff -r 12436833b47d -r 101ee8fc9228 sys/netinet6/ip6_input.c
--- a/sys/netinet6/ip6_input.c  Sat May 19 05:39:21 2018 +0000
+++ b/sys/netinet6/ip6_input.c  Sat May 19 06:44:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_input.c,v 1.203 2018/05/17 11:59:36 maxv Exp $     */
+/*     $NetBSD: ip6_input.c,v 1.204 2018/05/19 06:44:08 maxv Exp $     */
 /*     $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $     */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.203 2018/05/17 11:59:36 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.204 2018/05/19 06:44:08 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_gateway.h"
@@ -1050,17 +1050,6 @@
        return (-1);
 }
 
-/*
- * Create the "control" list for this pcb.
- *
- * The routine will be called from upper layer handlers like tcp6_input().
- * Thus the routine assumes that the caller (tcp6_input) have already
- * called IP6_EXTHDR_CHECK() and all the extension headers are located in the
- * very first mbuf on the mbuf chain.
- * We may want to add some infinite loop prevention or sanity checks for safety.
- * (This applies only when you are using KAME mbuf chain restriction, i.e.
- * you are using IP6_EXTHDR_CHECK() not m_pulldown())
- */
 void
 ip6_savecontrol(struct in6pcb *in6p, struct mbuf **mp, 
        struct ip6_hdr *ip6, struct mbuf *m)



Home | Main Index | Thread Index | Old Index