From ee7408c2be2cd514ba6eefc5589e57a6056198dc Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 7 May 2010 15:54:27 +0200 Subject: Fixes a bug in LSA flooding. LSAs are sometimes prematurely removed from LS retransmission lists. --- proto/ospf/lsack.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'proto/ospf/lsack.c') diff --git a/proto/ospf/lsack.c b/proto/ospf/lsack.c index c05f019..53422e5 100644 --- a/proto/ospf/lsack.c +++ b/proto/ospf/lsack.c @@ -183,9 +183,6 @@ ospf_lsack_receive(struct ospf_packet *ps_i, struct ospf_iface *ifa, DBG("Deleting LS Id: %R RT: %R Type: %u from LS Retl for neighbor %R\n", lsa.id, lsa.rt, lsa.type, n->rid); s_rem_node(SNODE en); - if (en->lsa_body != NULL) - mb_free(en->lsa_body); - en->lsa_body = NULL; ospf_hash_delete(n->lsrth, en); } } -- cgit v1.2.3