From: vivek Date: Mon, 7 Mar 2016 23:49:45 +0000 (+0000) Subject: OSPFv3: Check area before scheduling SPF X-Git-Tag: frr-2.0-rc1~1070^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=988bf1fe691cbbedb472113c1b39d95501b77f63;p=mirror%2Ffrr.git OSPFv3: Check area before scheduling SPF Check on area that interface points to before scheduling SPF. Signed-off-by: Vivek Venkatraman Ticket: CM-7911, CM-8934 Reviewed By: CCR-4256 Testing Done: Verification by Anitha --- 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: