]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Process directly connected IBGP peers upon interface down
authorvivek <vivek@cumulusnetworks.com>
Thu, 8 Sep 2016 17:03:30 +0000 (10:03 -0700)
committervivek <vivek@cumulusnetworks.com>
Thu, 8 Sep 2016 17:03:30 +0000 (10:03 -0700)
commit8c4f63817a1861adf8dba97849c4ef60b17432bc
tree6b6ad6ba40c99eb1421f87a2bb92cb07d293cb24
parent80c2442a9b959afce944d75c62565a9659bf84f9
bgpd: Process directly connected IBGP peers upon interface down

When we have a single-hop BFD session for any peering, it really means
that the peering is directly connected (maybe over a L2 network), whether
it is IBGP or EBGP. In such a case, upon link down, immediately process
IBGP peers too (and bring them down), not just EBGP peers.

This change eliminates some peculiar state transitions in specific IBGP
topologies, thus getting rid of the problem of nexthops remaining inactive
in the zebra RIB.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Ticket: CM-12390
Reviewed By: CCR-5156
Testing Done: Manual, bgp-smoke
bgpd/bgp_bfd.c
bgpd/bgp_bfd.h
bgpd/bgp_zebra.c