]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: Wait for Install should not always set the flag
authorDonald Sharp <sharpd@nvidia.com>
Mon, 1 Mar 2021 18:09:11 +0000 (13:09 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 1 Mar 2021 18:09:11 +0000 (13:09 -0500)
commita1b773e2870531ecc5a064b16ea24370f389d05f
tree2da1ef67496d3e8f1d448c4bc26ba995211f67c6
parent0a1e7b612af18fc2ad476d00e6ad428acf17fb4f
bgpd: Wait for Install should not always set the flag

If we are filtering a route due to any of the filter reasons
we should not be setting the BGP_NODE_FIB_INSTALL_FIB_PENDING
flag.  This is especially evident with say a loopback that
is covered by a network statement.  When we receive the route
back from our peer we should not be setting the
BGP_NODE_FIB_INSTALL_PENDING flag on it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_route.c