]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: BGP knob to teardown session immediately when peer is unreachable
authorPrerana-GB <prerana@vmware.com>
Fri, 6 Aug 2021 15:17:04 +0000 (15:17 +0000)
committerPrerana GB <prerana@vmware.com>
Tue, 24 Aug 2021 12:23:38 +0000 (12:23 +0000)
commitf852eb98339fb3aacc52195bf5331c7b158557cc
treead9a65672e7c52bc943355f56676da1bea60111c
parent2e062fff45ecdd1805140176dc1aa480ff1481f2
bgpd: BGP knob to teardown session immediately when peer is unreachable

When BGP is notified by RIB that peer address is unreachable then BGP session must be brought
down immediately and not wait for the hold-timer expiry. Today single-hop EBGP already behaves
this way but need to change for iBGP and multi-hop EBGP sessions.

Signed-off-by: Prerana G.B <prerana@vmware.com>, Pushpasis Sarkar <spushpasis@vmware.com>
bgpd/bgp_fsm.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h