From a72d1a112485465c9eaba05a7e487a8ad9f0f22d Mon Sep 17 00:00:00 2001 From: Wesley Coakley Date: Wed, 28 Jul 2021 21:37:44 -0400 Subject: [PATCH] pbrd: fix vrf_unchanged which may depend on other seqs Ticket: 2740911 Signed-off-by: Wesley Coakley --- pbrd/pbr_map.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pbrd/pbr_map.c b/pbrd/pbr_map.c index 8f7a46377c..ea0e2e4eaf 100644 --- a/pbrd/pbr_map.c +++ b/pbrd/pbr_map.c @@ -732,6 +732,14 @@ void pbr_map_schedule_policy_from_nhg(const char *nh_group, bool installed) 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); } } }