http://downloads.netgear.com/files/GPL/DM111PSP_v3.61d_GPL.tar.gz
[bcm963xx.git] / userapps / opensource / ipsec-tools / src / racoon / pfkey.c
index ed1086c..7a24189 100755 (executable)
@@ -781,8 +781,6 @@ pfkey_timeover(iph2)
        if (iph2->side == INITIATOR)
                pk_sendeacquire(iph2);
 
-       iph2->status = PHASE2ST_EXPIRED;
-       savestatus();
        unbindph12(iph2);
        remph2(iph2);
        delph2(iph2);
@@ -1236,7 +1234,6 @@ pk_recvupdate(mhp)
        
        /* update status */
        iph2->status = PHASE2ST_ESTABLISHED;
-       savestatus();
 
 #ifdef ENABLE_STATS
        gettimeofday(&iph2->end, NULL);
@@ -1567,7 +1564,6 @@ pk_recvexpire(mhp)
        SCHED_KILL(iph2->sce);
 
        iph2->status = PHASE2ST_EXPIRED;
-       savestatus();
 
        /* INITIATOR, begin phase 2 exchange. */
        /* allocate buffer for status management of pfkey message */