pbrd: fix vrf_unchanged which may depend on other seqs

Ticket: 2740911
Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
This commit is contained in:
Wesley Coakley 2021-07-28 21:37:44 -04:00 committed by Donald Sharp
parent e57ad2fbcd
commit a72d1a1124

View file

@ -732,6 +732,14 @@ void pbr_map_schedule_policy_from_nhg(const char *nh_group, bool installed)
pbr_map_check(pbrms, false); pbr_map_check(pbrms, false);
} }
/*
* vrf_unchanged pbrms have no nhg but their
* installation is contingent on other sequences which
* may...
*/
if (pbrms->vrf_unchanged)
pbr_map_check(pbrms, false);
} }
} }
} }