]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rib.c
zebra: Send nht resolved entry up to concerned protocols in all cases
authorDonald Sharp <sharpd@nvidia.com>
Mon, 30 Jan 2023 18:53:44 +0000 (13:53 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 31 Jan 2023 12:28:19 +0000 (07:28 -0500)
commit8ce0e517ed23c9d2b5f0855b21eec65ce93d3b90
treee075405b99101cce28b9e3673ff675fe05e774b6
parent9eca0bdc02686e18a3face13a5a28a1645a9619f
zebra: Send nht resolved entry up to concerned protocols in all cases

There existed the idea, from Volta, that a nexthop group would not have
the same nexthops installed -vs- what FRR actually sent down.  The
dplane would notify you.

With the addition of 06525c4f99d4dcafdf448565f7e11bd70993697d
the code was put behind a bit of a wall controlled the usage
of it.

The flag ROUTE_ENTRY_USE_FIB_NHG flag was being used
to control which set was being sent up to concerned parties
in nexthop tracking.  Put this flag behind the wall and
do not necessarily set it when we receive a data plane
notification about a route being installed or not.

Fixes: #12706
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_rib.c