]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_asbr.c
ospf6d: fix ospf6 asbr crash
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 19 Apr 2018 19:26:20 +0000 (12:26 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Sat, 21 Apr 2018 16:01:07 +0000 (09:01 -0700)
commit8873ebd3d44f87e4a31c9a7292513880a5ec7ce8
tree9c48f75fa3f6a329f76207b8dc05cf9dcd461517
parent8aeee10fe217316ca3cdb6423169b2efc413762a
ospf6d: fix ospf6 asbr crash

Durig ospf6 instance cleanup all border routers
are removed from the db then external LSAs removal
from DB is triggered. During the time, external route
path would not be valid as brouters along with its
rechability have vanished.
For a given external route removal check if no more
paths available simple remove the route from route db.

Ticket:CM-20669
Testing Done:
Bring up ASBR configuration with ECMP paths to a route.
Bring down the ospf6 instance and validate route is removed
from the DB.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_asbr.c