Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec Fix fragment processing in ipsec4_fragout(). Po...



details:   https://anonhg.NetBSD.org/src/rev/214c3c9535d7
branches:  trunk
changeset: 830973:214c3c9535d7
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Tue Mar 06 10:07:06 2018 +0000

description:
Fix fragment processing in ipsec4_fragout(). Pointed out by maxv@n.o, thanks.

XXX need pullup-8

diffstat:

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

diffs (27 lines):

diff -r 6271da11984a -r 214c3c9535d7 sys/netipsec/ipsecif.c
--- a/sys/netipsec/ipsecif.c    Tue Mar 06 08:20:22 2018 +0000
+++ b/sys/netipsec/ipsecif.c    Tue Mar 06 10:07:06 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsecif.c,v 1.2 2018/02/26 06:17:01 maxv Exp $  */
+/*     $NetBSD: ipsecif.c,v 1.3 2018/03/06 10:07:06 knakahara Exp $  */
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsecif.c,v 1.2 2018/02/26 06:17:01 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsecif.c,v 1.3 2018/03/06 10:07:06 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -265,7 +265,7 @@
 
        for (error = 0; m; m = next) {
                next = m->m_nextpkt;
-               m->m_next = NULL;
+               m->m_nextpkt = NULL;
                if (error) {
                        m_freem(m);
                        continue;



Home | Main Index | Thread Index | Old Index