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.
This commit is contained in:
paul 2004-07-27 17:40:44 +00:00
parent fbe31d8258
commit 48fe13bfd7
2 changed files with 7 additions and 5 deletions

View 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

View 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.