]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: VRF-Lite fix to clear stale leaked routes
authorKantesh Mundaragi <kmundaragi@vmware.com>
Fri, 19 Feb 2021 04:48:41 +0000 (20:48 -0800)
committerIqra Siddiqui <imujeebsiddi@vmware.com>
Sat, 8 Jan 2022 18:21:10 +0000 (10:21 -0800)
commit641065d4fc0fd956252b988f8a5037b2917d9633
tree97afc313530c6ec27f695623618a1bda6c7a37cd
parent0edd8e471477a9b43414bdb5329ae290febed84e
bgpd: VRF-Lite fix to clear stale leaked routes

Description:
Change is intended for fixing the issue related to
clearing of stale leaked routes:
- Whenever BGP goes down,
  after bringing down tcp connection and renegotiating capabilities,
  once we reestablish connection,
  we are not handling clear of VRF leaked route in the bgp_clear_stale_route.

- While bgp is clearing stale routes,
  we need to handle withdraw of routes for VRF route-leaking.

Co-authored-by: Kantesh Mundaragi <kmundaragi@vmware.com>
Signed-off-by: Iqra Siddiqui <imujeebsiddi@vmware.com>
bgpd/bgp_route.c