From: paul Date: Tue, 27 Jul 2004 11:19:11 +0000 (+0000) Subject: 2004-07-27 Paul Jakma X-Git-Tag: frr-2.0-rc1~3644 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=36c64efdfa81b04741fbc75929649973a5334055;p=mirror%2Ffrr.git 2004-07-27 Paul Jakma * 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. --- diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 453036ea29..e3a2dfed69 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,9 @@ +2004-07-27 Paul Jakma + + * 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 * ospf_network.c: Replace PKTINFO/RECVIF with call to diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c index 636839c010..73e9639ca1 100644 --- a/ospfd/ospf_opaque.c +++ b/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. */