Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 clarify comment. from jhawk. sync with kame.



details:   https://anonhg.NetBSD.org/src/rev/6ad1ac484c8b
branches:  trunk
changeset: 495503:6ad1ac484c8b
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Jul 30 04:33:34 2000 +0000

description:
clarify comment.  from jhawk.  sync with kame.

diffstat:

 sys/netinet6/esp_input.c  |  10 ++++++----
 sys/netinet6/esp_output.c |   7 ++++---
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (52 lines):

diff -r 811ae760602d -r 6ad1ac484c8b sys/netinet6/esp_input.c
--- a/sys/netinet6/esp_input.c  Sun Jul 30 04:29:22 2000 +0000
+++ b/sys/netinet6/esp_input.c  Sun Jul 30 04:33:34 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: esp_input.c,v 1.3 2000/07/23 05:23:04 itojun Exp $     */
-/*     $KAME: esp_input.c,v 1.27 2000/07/20 17:41:01 itojun Exp $      */
+/*     $NetBSD: esp_input.c,v 1.4 2000/07/30 04:33:34 itojun Exp $     */
+/*     $KAME: esp_input.c,v 1.28 2000/07/30 04:28:55 itojun Exp $      */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -289,7 +289,8 @@
        }
 
        /*
-        * XXX pre-compute and cache intermediate key
+        * pre-compute and cache intermediate key
+        * XXX should improve code sharing
         */
        if (!sav->sched && sav->schedlen == 0) {
                if (algo->schedule && algo->schedlen) {
@@ -650,7 +651,8 @@
        ip6 = mtod(m, struct ip6_hdr *);        /*set it again just in case*/
 
        /*
-        * XXX pre-compute and cache intermediate key
+        * pre-compute and cache intermediate key
+        * XXX should improve code sharing
         */
        if (!sav->sched && sav->schedlen == 0) {
                if (algo->schedule && algo->schedlen) {
diff -r 811ae760602d -r 6ad1ac484c8b sys/netinet6/esp_output.c
--- a/sys/netinet6/esp_output.c Sun Jul 30 04:29:22 2000 +0000
+++ b/sys/netinet6/esp_output.c Sun Jul 30 04:33:34 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: esp_output.c,v 1.4 2000/07/23 05:23:04 itojun Exp $    */
-/*     $KAME: esp_output.c,v 1.24 2000/07/20 17:41:01 itojun Exp $     */
+/*     $NetBSD: esp_output.c,v 1.5 2000/07/30 04:33:34 itojun Exp $    */
+/*     $KAME: esp_output.c,v 1.25 2000/07/30 04:28:55 itojun Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -496,7 +496,8 @@
     }
 
        /*
-        * XXX pre-compute and cache intermediate key
+        * pre-compute and cache intermediate key
+        * XXX should improve code sharing
         */
        if (!sav->sched && sav->schedlen == 0) {
                if (algo->schedule && algo->schedlen) {



Home | Main Index | Thread Index | Old Index