]> git.puffer.fish Git - matthieu/frr.git/commit
When IPv6 peer BFD down status is received by BGP, all the the peers for which the...
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Jul 2015 19:35:37 +0000 (12:35 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Jul 2015 19:35:37 +0000 (12:35 -0700)
commit7bbc6864de7071873fc47680cb80a583280495b3
tree38a79f8231b26123db1bc6c7f5796b8196e81874
parentcceb0bfce42425c784ab9371873c5a2eec18d3fd
When IPv6 peer BFD down status is received by BGP, all the the peers for which the BFD is enabled are brought down. This happens due to reverse memcmp check of destination and source IPv6 addresses with the BFD enabled BGP peers. Fixed it by doing the memcmp correctly.

Also, there is no reason stored in the last_reset field when BGP peer goes down due BFD. Incorrect/no peer down reason can get logged when BGP peer goes down due to BFD. Fixed it by adding new BFD peer down reason code and storing it in the peer last_reset field when peer is broght down due to BFD.
bgpd/bgp_bfd.c
bgpd/bgp_fsm.c
bgpd/bgpd.h