]> git.puffer.fish Git - mirror/frr.git/commitdiff
2003-06-30 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Mon, 30 Jun 2003 21:41:26 +0000 (21:41 +0000)
committerpaul <paul>
Mon, 30 Jun 2003 21:41:26 +0000 (21:41 +0000)
* ospf_packet.c: (ospf_ls_upd_send_queue_event) undo fix suggested
          Mikael Lonnroth. As per Kamatchi Soundaram /
          [zebra 19590], original behaviour is correct.

ospfd/ospf_packet.c

index 7bd48223c2ba1b44c6f8de4e9bff9f9d2dc36e20..9e4be062fdf96b459f90ed6df2e1c683fa2e7d37 100644 (file)
@@ -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));