summaryrefslogtreecommitdiff
path: root/proto/ospf/lsack.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-05-07 15:54:27 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-05-07 15:54:27 +0200
commitee7408c2be2cd514ba6eefc5589e57a6056198dc (patch)
treeebfccc2e387f482c6e2a83941e8be5b0c10a9fbc /proto/ospf/lsack.c
parent54818e9beb6bfcbcb5dcc2b175dca9d174012e6c (diff)
Fixes a bug in LSA flooding.
LSAs are sometimes prematurely removed from LS retransmission lists.
Diffstat (limited to 'proto/ospf/lsack.c')
-rw-r--r--proto/ospf/lsack.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/proto/ospf/lsack.c b/proto/ospf/lsack.c
index c05f0196..53422e53 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);
}
}