Merge pull request #9408 from mobash-rasool/ospfv2-bug-fixes-03

ospfd: Summarised External LSA is not flushed in one scenario
This commit is contained in:
Igor Ryzhov 2021-08-18 10:18:32 +03:00 committed by GitHub
commit 2f2372ce9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -267,6 +267,8 @@ static void ospf_process_self_originated_lsa(struct ospf *ospf,
ospf_external_lsa_refresh(ospf, new, &ei_aggr,
LSA_REFRESH_FORCE, true);
SET_FLAG(aggr->flags,
OSPF_EXTERNAL_AGGRT_ORIGINATED);
} else
ospf_lsa_flush_as(ospf, new);
}

View File

@ -3631,6 +3631,8 @@ struct ospf_lsa *ospf_lsa_refresh(struct ospf *ospf, struct ospf_lsa *lsa)
ospf_external_lsa_refresh(ospf, lsa, &ei_aggr,
LSA_REFRESH_FORCE, true);
SET_FLAG(aggr->flags,
OSPF_EXTERNAL_AGGRT_ORIGINATED);
} else
ospf_lsa_flush_as(ospf, lsa);
}