summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-06-30 21:41:26 +0000
committerpaul <paul>2003-06-30 21:41:26 +0000
commit93fe5c5bed35dae0f40fe3ceeef2d1563d0c6eda (patch)
tree7dacb2b6a0e91f54e3d18f4bcd3eece44d19ca6a
parent4957f4946d1cc0469f7dd09685ab077f1f31f8f6 (diff)
2003-06-30 Paul Jakma <paul@dishone.st>
* ospf_packet.c: (ospf_ls_upd_send_queue_event) undo fix suggested Mikael Lonnroth. As per Kamatchi Soundaram / [zebra 19590], original behaviour is correct.
-rw-r--r--ospfd/ospf_packet.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 7bd48223..9e4be062 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -2709,12 +2709,7 @@ ospf_make_ls_upd (struct ospf_interface *oi, list update, struct stream *s)
/* Check packet size. */
if (length + delta + ntohs (lsa->data->length) > OSPF_PACKET_MAX (oi))
- {
- /* clean up */
- list_delete_node (update, node);
- ospf_lsa_unlock (lsa);
- break;
- }
+ break;
/* Keep pointer to LS age. */
lsah = (struct lsa_header *) (STREAM_DATA (s) + stream_get_putp (s));