summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
authorpaul <paul>2004-07-27 17:40:44 +0000
committerpaul <paul>2004-07-27 17:40:44 +0000
commit75e533378b2a63d49ec577c3ae081c796cb2ab72 (patch)
tree3308c88b5b95161639265f0dcf25ffe831e7c71f /ospfd/ospf_packet.c
parent08b200709e3a4d1dfc98fdc9a76ee7a89a43b816 (diff)
downloadquagga-75e533378b2a63d49ec577c3ae081c796cb2ab72.tar.bz2
quagga-75e533378b2a63d49ec577c3ae081c796cb2ab72.tar.xz
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.
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 67215ebc..8aa63998 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -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.