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, it seems to me we need to free the mbu...



details:   https://anonhg.NetBSD.org/src/rev/1925b66e6e79
branches:  trunk
changeset: 830123:1925b66e6e79
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Feb 26 06:41:27 2018 +0000

description:
Add XXX, it seems to me we need to free the mbuf here.

diffstat:

 sys/netipsec/xform_tcp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 34d24bd56dc7 -r 1925b66e6e79 sys/netipsec/xform_tcp.c
--- a/sys/netipsec/xform_tcp.c  Mon Feb 26 06:40:08 2018 +0000
+++ b/sys/netipsec/xform_tcp.c  Mon Feb 26 06:41:27 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xform_tcp.c,v 1.16 2017/10/03 08:56:52 ozaki-r Exp $ */
+/*     $NetBSD: xform_tcp.c,v 1.17 2018/02/26 06:41:27 maxv Exp $ */
 /*     $FreeBSD: sys/netipsec/xform_tcp.c,v 1.1.2.1 2004/02/14 22:24:09 bms Exp $ */
 
 /*
@@ -31,7 +31,7 @@
 /* TCP MD5 Signature Option (RFC2385) */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_tcp.c,v 1.16 2017/10/03 08:56:52 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_tcp.c,v 1.17 2018/02/26 06:41:27 maxv Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -144,7 +144,7 @@
 tcpsignature_input(struct mbuf *m, struct secasvar *sav, int skip,
     int protoff)
 {
-
+       /* XXX m_freem(m)? */
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index