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 comments.



details:   https://anonhg.NetBSD.org/src/rev/eabaa7d25717
branches:  trunk
changeset: 318857:eabaa7d25717
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon May 07 10:21:08 2018 +0000
description:
Remove misleading comments.

diffstat:

 sys/netinet6/icmp6.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r cfd7d1d28ed2 -r eabaa7d25717 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c      Mon May 07 09:57:37 2018 +0000
+++ b/sys/netinet6/icmp6.c      Mon May 07 10:21:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icmp6.c,v 1.236 2018/05/01 07:21:39 maxv Exp $ */
+/*     $NetBSD: icmp6.c,v 1.237 2018/05/07 10:21:08 maxv Exp $ */
 /*     $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.236 2018/05/01 07:21:39 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.237 2018/05/07 10:21:08 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -766,7 +766,7 @@
                        memset(p, 0, 4);
                        memcpy(p + 4, hostname, maxhlen); /* meaningless TTL */
 
-                       M_COPY_PKTHDR(n, m); /* just for rcvif */
+                       M_COPY_PKTHDR(n, m);
                        n->m_pkthdr.len = n->m_len = sizeof(struct ip6_hdr) +
                                sizeof(struct icmp6_hdr) + 4 + maxhlen;
                        nicmp6->icmp6_type = ICMP6_WRUREPLY;
@@ -1407,7 +1407,7 @@
        if (n == NULL) {
                goto bad;
        }
-       M_MOVE_PKTHDR(n, m); /* just for rcvif */
+       M_MOVE_PKTHDR(n, m);
        if (replylen > MHLEN) {
                if (replylen > MCLBYTES) {
                        /*



Home | Main Index | Thread Index | Old Index