]> git.proxmox.com Git - mirror_frr.git/commit
zebra: revise redistribution delete to improve update case
authorMark Stapp <mjs@voltanet.io>
Thu, 12 Sep 2019 15:30:42 +0000 (11:30 -0400)
committerMark Stapp <mjs@voltanet.io>
Thu, 12 Sep 2019 15:30:42 +0000 (11:30 -0400)
commitee8a72f315013aecd45bc9c3aaf7ea81b2ca747a
tree50e427742046c03b34ccb97a798853fc3ef82804
parentad1fb8e40e8dc9cd48252825019349d3f4004ecb
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.

[7.2 version]

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