Skip to content

Commit

Permalink
POSSIBLE FIX for ecmp problem being seen
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldsharp committed Nov 10, 2023
1 parent 31b4c7a commit b8b81d4
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions bgpd/bgp_zebra.c
Original file line number Diff line number Diff line change
Expand Up @@ -2626,19 +2626,13 @@ static int bgp_zebra_route_notify_owner(int command, struct zclient *zclient,
}
break;
case ZAPI_ROUTE_REMOVED:
/* Route deleted from dataplane, reset the installed flag
* so that route can be reinstalled when client sends
* route add later
*/
UNSET_FLAG(dest->flags, BGP_NODE_FIB_INSTALLED);
if (BGP_DEBUG(zebra, ZEBRA))
zlog_debug("route %pRN: Removed from Fib", dest);
break;
/* fallthrough */
case ZAPI_ROUTE_FAIL_INSTALL:
new_select = NULL;
if (BGP_DEBUG(zebra, ZEBRA))
zlog_debug("route: %pRN Failed to Install into Fib",
dest);
zlog_debug(
"route: %pRN Failed to Install into Fib or removed from FIB",
dest);
UNSET_FLAG(dest->flags, BGP_NODE_FIB_INSTALL_PENDING);
UNSET_FLAG(dest->flags, BGP_NODE_FIB_INSTALLED);
for (pi = bgp_dest_get_bgp_path_info(dest); pi; pi = pi->next) {
Expand Down

0 comments on commit b8b81d4

Please sign in to comment.