Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec fix comments



details:   https://anonhg.NetBSD.org/src/rev/4138d164d2c8
branches:  trunk
changeset: 361210:4138d164d2c8
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Apr 17 17:56:08 2018 +0000

description:
fix comments

diffstat:

 sys/netipsec/ipsec_input.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r e6fef41d42b2 -r 4138d164d2c8 sys/netipsec/ipsec_input.c
--- a/sys/netipsec/ipsec_input.c        Tue Apr 17 17:47:05 2018 +0000
+++ b/sys/netipsec/ipsec_input.c        Tue Apr 17 17:56:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsec_input.c,v 1.63 2018/04/15 07:35:49 maxv Exp $    */
+/*     $NetBSD: ipsec_input.c,v 1.64 2018/04/17 17:56:08 maxv Exp $    */
 /*     $FreeBSD: src/sys/netipsec/ipsec_input.c,v 1.2.4.2 2003/03/28 20:32:53 sam Exp $        */
 /*     $OpenBSD: ipsec_input.c,v 1.63 2003/02/20 18:35:43 deraadt Exp $        */
 
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.63 2018/04/15 07:35:49 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.64 2018/04/17 17:56:08 maxv Exp $");
 
 /*
  * IPsec input processing.
@@ -175,8 +175,8 @@
 
 /*
  * ipsec_common_input gets called when an IPsec-protected packet
- * is received by IPv4 or IPv6.  It's job is to find the right SA
- # and call the appropriate transform.  The transform callback
+ * is received by IPv4 or IPv6.  Its job is to find the right SA
+ * and call the appropriate transform.  The transform callback
  * takes care of further processing (like ingress filtering).
  */
 static int
@@ -685,7 +685,7 @@
 
                /*
                 * Enforce IPsec policy checking if we are seeing last header.
-                * note that we do not visit this with protocols with pcb layer
+                * Note that we do not visit this with protocols with pcb layer
                 * code - like udp/tcp/raw ip.
                 */
                if ((inet6sw[ip6_protox[nxt]].pr_flags & PR_LASTHDR) != 0 &&



Home | Main Index | Thread Index | Old Index