]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_neighbor.c
ospf6d: Intra-prefix LSA update after frr restart
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 2 Mar 2018 22:20:26 +0000 (14:20 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Thu, 8 Mar 2018 22:29:21 +0000 (14:29 -0800)
commit690df17787c759d36cf57ba1070c961ac87b4b1a
tree20fa520099421748e3d2a477531e2e1dfb8179bc
parent1ffd1bcf86fde9c0642475ac3519767907fab721
ospf6d: Intra-prefix LSA update after frr restart

Initially INP LSA is originated, when connected
interface comes up. As neighbor is not up, LSA is
not transmitted but stored in DB.
As NSM transition to FULL, INP is scheduled but
ospf6_flood() would not originate the LSA as
current DB and new INP LSA same so it discards
the new LSA.
When Neighor becomes FULL, originate INP via
flushing current DB copy and generate new.
This is introduced as PR 1738 introduce,
premature aging of LSAs in nbr table as R1
going down. upon neigbor coming up, INP was
not updated to new age.

Ticket:CM-19926,CM-19945
Testing Done:

Topology R3 --- R1 -- R2, R1 have INP LSA.
After frr restart R2 and R3 re learnt R1's
INP LSA as new neighbor(s) come up.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_area.h
ospf6d/ospf6_flood.c
ospf6d/ospf6_flood.h
ospf6d/ospf6_intra.c
ospf6d/ospf6_neighbor.c