diff options
| author | vivek <vivek@cumulusnetworks.com> | 2016-03-07 23:49:45 +0000 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2016-03-07 23:49:45 +0000 |
| commit | 988bf1fe691cbbedb472113c1b39d95501b77f63 (patch) | |
| tree | 49de34d6a3d8860985fb81fe45f912c7948e2f5d /ospf6d/ospf6_interface.c | |
| parent | 50ef26d42f65cca6d225cb6a7b19432148335eda (diff) | |
OSPFv3: Check area before scheduling SPF
Check on area that interface points to before scheduling SPF.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Ticket: CM-7911, CM-8934
Reviewed By: CCR-4256
Testing Done: Verification by Anitha
Diffstat (limited to 'ospf6d/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index e836d49f94..8afdfefc19 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -88,7 +88,8 @@ ospf6_interface_lsdb_hook (struct ospf6_lsa *lsa, unsigned int reason) case OSPF6_LSTYPE_LINK: if (oi->state == OSPF6_INTERFACE_DR) OSPF6_INTRA_PREFIX_LSA_SCHEDULE_TRANSIT (oi); - ospf6_spf_schedule (oi->area->ospf6, reason); + if (oi->area) + ospf6_spf_schedule (oi->area->ospf6, reason); break; default: |
