]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2004-07-27 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Tue, 27 Jul 2004 17:40:44 +0000 (17:40 +0000)
committerpaul <paul>
Tue, 27 Jul 2004 17:40:44 +0000 (17:40 +0000)
        * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
          last fix for ospfd wedging due to oversize LSAs: dont list loop on
          ospf_ls_upd_queue_send() - guaranteed segfault.

ospfd/ChangeLog
ospfd/ospf_packet.c

index e3a2dfed698f2c57f1165c3bd3933f097a84cb64..369822d9423ba058a3b8fec7c3f6113de90482ff 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-27 Paul Jakma <paul@dishone.st>
+
+        * ospf_packet.c: (ospf_ls_upd_send_queue_event) fix thinko from
+          last fix for ospfd wedging due to oversize LSAs: dont list loop on
+          ospf_ls_upd_queue_send() - guaranteed segfault.
+          
 2004-07-27 Paul Jakma <paul@dishone.st>
 
        * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
index 67215ebc2c21167d4c1ab0b8e02072ef52aaf217..8aa6399857dc04ef9d766692e959d6e9d8a49c7d 100644 (file)
@@ -3123,11 +3123,7 @@ ospf_ls_upd_send_queue_event (struct thread *thread)
       if (rn->info == NULL)
         continue;
 
-      for (tn = update->head; tn; tn = nn)
-        {
-          nn = tn->next;
-          ospf_ls_upd_queue_send (oi, update, rn->p.u.prefix4);
-        }
+      ospf_ls_upd_queue_send (oi, update, rn->p.u.prefix4);
       
       /* list might not be empty.
        * TODO: work out what to do about oversized LSAs.