]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgpd.c
bgpd: Cleanup NHT state when underlying VRF goes down
authorvivek <vivek@cumulusnetworks.com>
Thu, 10 Aug 2017 00:32:19 +0000 (17:32 -0700)
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Thu, 17 Aug 2017 09:54:14 +0000 (02:54 -0700)
commitee7ca6c05986a86967b7e92fc6213a2f33dd498a
tree1b4dcb98f071440288eaacebdb85c43ee0efe8c5
parentc65f709ec66579c7d8bd175b9cef4b4848ed585f
bgpd: Cleanup NHT state when underlying VRF goes down

When the underlying VRF is deleted, ensure that state for the
next hops that BGP registers with zebra for tracking purposes is
properly updated. Otherwise BGP will not re-register the next hop
when the VRF is re-created, resulting in the next hop staying
unresolved.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Ticket: CM-17456
Reviewed By: CCR-6587
Testing Done: Manual, bgp-min, vrf
bgpd/bgp_nht.c
bgpd/bgp_nht.h
bgpd/bgpd.c