mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 19:56:27 +00:00
Merge pull request #8368 from volta-networks/fix_isis_ospfv3_coverity
ospf6d: fix coverity warning
This commit is contained in:
commit
44f6359d08
@ -1122,6 +1122,7 @@ void ospf6_asbr_remove_externals_from_area(struct ospf6_area *oa)
|
||||
/* if router is only in a stub area then purge AS-External LSAs */
|
||||
iterend = ospf6_lsdb_head(ospf6->lsdb, 0, 0, 0, &lsa);
|
||||
while (lsa != NULL) {
|
||||
assert(lsa->lock > 1);
|
||||
lsanext = ospf6_lsdb_next(iterend, lsa);
|
||||
if (ntohs(lsa->header->type) == OSPF6_LSTYPE_AS_EXTERNAL)
|
||||
ospf6_lsdb_remove(lsa, ospf6->lsdb);
|
||||
|
Loading…
Reference in New Issue
Block a user