]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: improve reconnection mechanism by cancelling connect timers
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 16 Apr 2019 13:10:17 +0000 (15:10 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 18 Apr 2019 14:11:51 +0000 (16:11 +0200)
commitfc04a6778e3a3d6e0cf13d33fa2f98368a42f1ef
tree491a3f1ef9164adeb117a32fd090cbd2947dfa71
parent5172851960576252a9a427b8bcec12b3595561ef
bgpd: improve reconnection mechanism by cancelling connect timers

if bfd comes back up, and a bgp reconnection is in progress, theorically
it should be necessary to wait for the end of the reconnection process.
however, since that reconnection process may take some time, update the
fsm by cancelling the connect timer. This done, one just have to call
the start timer.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_bfd.c
bgpd/bgp_fsm.c
bgpd/bgp_fsm.h
bgpd/bgp_nht.c