Commit cea2e25f authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

OSPF: Fix wrong LSA collisions detection

In some circumstances (old LSA flushed but not acknowledged and not
removed) origination of a new LSA may wrongly triggers LSA collision
code. The patch fixes that.

Thanks to Asbjorn Mikkelsen for the bugreport and @mdelagueronniere
for the original patch.
parent 1cab2b4a
Pipeline #43408 passed with stages
in 5 minutes and 47 seconds
......@@ -404,6 +404,8 @@ ospf_refresh_lsa(struct ospf_proto *p, struct top_hash_entry *en)
ospf_flush_lsa(struct ospf_proto *p, struct top_hash_entry *en)
en->nf = NULL;
if (en->next_lsa_body)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment