Source-Changes-HG archive

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

[src/trunk]: src/crypto/dist/ipsec-tools/src/racoon From Roman Hoog Antink <r...



details:   https://anonhg.NetBSD.org/src/rev/d90f55b25b88
branches:  trunk
changeset: 760135:d90f55b25b88
user:      tteras <tteras%NetBSD.org@localhost>
date:      Tue Dec 28 06:00:18 2010 +0000

description:
>From Roman Hoog Antink <rha%open.ch@localhost>: Fix config reload to not delete
too many phase 2 handles, because wrong chain field is used when
enumerating the handles.

diffstat:

 crypto/dist/ipsec-tools/src/racoon/handler.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5c0a258f3dd2 -r d90f55b25b88 crypto/dist/ipsec-tools/src/racoon/handler.c
--- a/crypto/dist/ipsec-tools/src/racoon/handler.c      Tue Dec 28 04:03:58 2010 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/handler.c      Tue Dec 28 06:00:18 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: handler.c,v 1.34 2010/11/17 10:40:41 tteras Exp $      */
+/*     $NetBSD: handler.c,v 1.35 2010/12/28 06:00:18 tteras Exp $      */
 
 /* Id: handler.c,v 1.28 2006/05/26 12:17:29 manubsd Exp */
 
@@ -1468,7 +1468,7 @@
        if (iph1->status == PHASE1ST_ESTABLISHED ||
            iph1->status == PHASE1ST_DYING) {
                for (iph2 = LIST_FIRST(&iph1->ph2tree); iph2; iph2 = iph2_next) {
-                       iph2_next = LIST_NEXT(iph2, chain);
+                       iph2_next = LIST_NEXT(iph2, ph1bind);
                        remove_ph2(iph2);
                }
                isakmp_info_send_d1(iph1);



Home | Main Index | Thread Index | Old Index