Browse Source

2004-07-27 Paul Jakma <paul@dishone.st>

        * ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
          the LSA as then free_opaque_info_per_id() can never unlock (and
          free) the LSA. Reported by Gunnar Stigen.
paul 17 years ago
parent
commit
36c64efdfa
2 changed files with 6 additions and 1 deletions
  1. 6 0
      ospfd/ChangeLog
  2. 0 1
      ospfd/ospf_opaque.c

+ 6 - 0
ospfd/ChangeLog

@@ -1,3 +1,9 @@
+2004-07-27 Paul Jakma <paul@dishone.st>
+
+	* ospf_opaque.c: (ospf_opaque_lsa_flush_schedule) do not NULL out
+	  the LSA as then free_opaque_info_per_id() can never unlock (and
+	  free) the LSA. Reported by Gunnar Stigen.
+	  
 2004-07-23 Paul Jakma <paul@dishone.st>
 
 	* ospf_network.c: Replace PKTINFO/RECVIF with call to

+ 0 - 1
ospfd/ospf_opaque.c

@@ -2090,7 +2090,6 @@ ospf_opaque_lsa_flush_schedule (struct ospf_lsa *lsa0)
     oipt->id_list->head = oipt->id_list->tail = NULL;
 
   /* Disassociate internal control information with the given lsa. */
-  oipi->lsa = NULL;
   free_opaque_info_per_id ((void *) oipi);
 
   /* Force given lsa's age to MaxAge. */