]> git.proxmox.com Git - mirror_frr.git/blobdiff - eigrpd/eigrp_update.c
*: cleanup ifp->vrf_id
[mirror_frr.git] / eigrpd / eigrp_update.c
index 0dc509706c91e0af15dd8f5ee3f59945ed10fb5d..8a9eea8a794ddce16fad8401e4ce488480affc06 100644 (file)
@@ -917,12 +917,10 @@ int eigrp_update_send_GR_thread(struct thread *thread)
        /* get argument from thread */
        nbr = THREAD_ARG(thread);
        /* remove this thread pointer */
-       nbr->t_nbr_send_gr = NULL;
 
        /* if there is packet waiting in queue,
         * schedule this thread again with small delay */
        if (nbr->retrans_queue->count > 0) {
-               nbr->t_nbr_send_gr = NULL;
                thread_add_timer_msec(master, eigrp_update_send_GR_thread, nbr,
                                      10, &nbr->t_nbr_send_gr);
                return 0;
@@ -934,7 +932,6 @@ int eigrp_update_send_GR_thread(struct thread *thread)
        /* if it wasn't last chunk, schedule this thread again */
        if (nbr->nbr_gr_packet_type != EIGRP_PACKET_PART_LAST) {
                thread_execute(master, eigrp_update_send_GR_thread, nbr, 0);
-               nbr->t_nbr_send_gr = NULL;
        }
 
        return 0;
@@ -1003,7 +1000,6 @@ void eigrp_update_send_GR(struct eigrp_neighbor *nbr, enum GR_type gr_type,
        nbr->nbr_gr_packet_type = EIGRP_PACKET_PART_FIRST;
        /* execute packet sending in thread */
        thread_execute(master, eigrp_update_send_GR_thread, nbr, 0);
-       nbr->t_nbr_send_gr = NULL;
 }
 
 /**