Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec Restore a comment removed in previous



details:   https://anonhg.NetBSD.org/src/rev/0d5c0fa3f869
branches:  trunk
changeset: 825499:0d5c0fa3f869
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Jul 18 09:00:55 2017 +0000

description:
Restore a comment removed in previous

The comment is valid for the below code.

diffstat:

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

diffs (29 lines):

diff -r e484c4267401 -r 0d5c0fa3f869 sys/netipsec/ipsec.c
--- a/sys/netipsec/ipsec.c      Tue Jul 18 08:55:10 2017 +0000
+++ b/sys/netipsec/ipsec.c      Tue Jul 18 09:00:55 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsec.c,v 1.103 2017/07/18 08:55:10 ozaki-r Exp $      */
+/*     $NetBSD: ipsec.c,v 1.104 2017/07/18 09:00:55 ozaki-r Exp $      */
 /*     $FreeBSD: /usr/local/www/cvsroot/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.103 2017/07/18 08:55:10 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.104 2017/07/18 09:00:55 ozaki-r Exp $");
 
 /*
  * IPsec controller part.
@@ -787,6 +787,10 @@
                return 0;
        }
 
+       /*
+        * Peek at the outbound SP for this packet to determine if
+        * it is a Fast Forward candidate.
+        */
        s = splsoftnet();
        sp = ipsec4_checkpolicy(m, IPSEC_DIR_OUTBOUND, flags, &error, NULL);
        if (sp != NULL) {



Home | Main Index | Thread Index | Old Index