]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: upon reconfiguration or bgp exchange failure, stop bfd.
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 10 Mar 2020 08:20:09 +0000 (09:20 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 12 Mar 2020 12:42:48 +0000 (13:42 +0100)
commit7b3ec88871a264f04d9449fda90a61b761173745
tree2f608929a5613c13cdfc32d86e0cec471269364f
parent40963e96ded88bf71a238ea6f5c8ab674f30a69d
bgpd: upon reconfiguration or bgp exchange failure, stop bfd.

When bgp is updated with local source, the bgp session is reset; bfd
also must be reset. The bgp_stop() handler handles all kind of
unexpected failures, so the placeholder to deregister from bfd should be
ok, providing that when bgp establishes, a similar function in bgp will
recreate bfd context.
Note that the bfd session is not reset on one specific case, where BFD
down event is the last reset. In that case, we must let BFD to monitor
the link.

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