Source-Changes-HG archive

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

src: Add XXX. If this code really does something, it should use ...



details:   https://anonhg.NetBSD.org/src/rev/aaa3f2a308ac
branches:  trunk
changeset: 318301:aaa3f2a308ac
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Apr 17 17:47:05 2018 +0000
description:
Add XXX. If this code really does something, it should use MCHTYPE.

diffstat:

 sys/netipsec/ipsec.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r c5bfcbbb8ee7 -r aaa3f2a308ac sys/netipsec/ipsec.c
--- a/sys/netipsec/ipsec.c      Tue Apr 17 17:40:38 2018 +0000
+++ b/sys/netipsec/ipsec.c      Tue Apr 17 17:47:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.154 2018/04/17 17:40:38 maxv Exp $ */
+/* $NetBSD: ipsec.c,v 1.155 2018/04/17 17:47:05 maxv Exp $ */
 /* $FreeBSD: src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */
 /* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.154 2018/04/17 17:40:38 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.155 2018/04/17 17:47:05 maxv Exp $");
 
 /*
  * IPsec controller part.
@@ -1269,7 +1269,9 @@
                return ENOBUFS;
        }
 
+       /* XXX XXX XXX: What's the point? */
        (*mp)->m_type = MT_DATA;
+
        if (KEYDEBUG_ON(KEYDEBUG_IPSEC_DUMP)) {
                kdebug_mbuf(__func__, *mp);
        }



Home | Main Index | Thread Index | Old Index