Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec Add XXX. If this code really does something, it...



details:   https://anonhg.NetBSD.org/src/rev/88936f3eff6a
branches:  trunk
changeset: 322097:88936f3eff6a
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 beac475e32e6 -r 88936f3eff6a 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