]> git.proxmox.com Git - mirror_frr.git/commit
zebra: revise redistribution delete to improve update case
authorMark Stapp <mjs@voltanet.io>
Wed, 14 Aug 2019 17:30:24 +0000 (13:30 -0400)
committerMark Stapp <mjs@voltanet.io>
Thu, 12 Sep 2019 12:51:05 +0000 (08:51 -0400)
commit40f321c000862f9d25f29c6003c53f21997bba80
tree301e3fbda24134458c8b2d0bb57b91fb660aaf20
parente6dafed0e261c6582d81d4c9d8f2e4844aff4448
zebra: revise redistribution delete to improve update case

When selecting a new best route, zebra sends a redist update
when the route is installed. There are cases where redist
clients may not see that redist add - clients who are not
subscribed to the new route type, e.g. In that case, attempt
to send a redist delete for the old/previous route type.

Revised the redist delete api to accomodate both cases;
also tightened up the const-ness of a few internal redist apis.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/redistribute.c
zebra/redistribute.h
zebra/zapi_msg.c
zebra/zapi_msg.h
zebra/zebra_rib.c