]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix crash during configuration removal
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 14 Jul 2021 01:46:40 +0000 (22:46 -0300)
committermergify-bot <noreply@mergify.io>
Wed, 14 Jul 2021 22:15:24 +0000 (22:15 +0000)
commit8dd8d002213644d9e662d8bd23b05c57faabb15e
tree6e99a17f1ce500d712a82c1c5979456089acc25c
parent619215767083b3571e3d27cdb0d0e8d89502ae1b
bgpd: fix crash during configuration removal

Test the BFD config pointer before trying to free the session as it
might not exist.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
(cherry picked from commit 373de4b5b05837bc5768084fae824d9d68ce3a7c)
bgpd/bgp_bfd.c