Merge pull request #17971 from donaldsharp/suppress_fib_giving_us_the_business

bgpd: With suppress-fib-pending ensure withdrawal is sent
This commit is contained in:
Donatas Abraitis 2025-02-01 13:25:37 +02:00 committed by GitHub
commit 69b763f730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3885,6 +3885,12 @@ static void bgp_process_main_one(struct bgp *bgp, struct bgp_dest *dest,
BGP_PATH_ATTR_CHANGED);
UNSET_FLAG(new_select->flags, BGP_PATH_MULTIPATH_CHG);
UNSET_FLAG(new_select->flags, BGP_PATH_LINK_BW_CHG);
} else {
/*
* Ensure that on uninstall that the INSTALL_PENDING
* is no longer set
*/
UNSET_FLAG(dest->flags, BGP_NODE_FIB_INSTALL_PENDING);
}
/* call bmp hook for loc-rib route update / withdraw after flags were