]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix crash in the MH cleanup handling
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 20 Oct 2020 16:26:51 +0000 (09:26 -0700)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Wed, 21 Oct 2020 16:09:21 +0000 (09:09 -0700)
commit45a859f1c3892e4a3ecc0ae731f2a81f1e6e86e9
tree8e4b9249b2a5664e775e2e32364c652428ce9f62
parentdad65cbe73f56e95221cc053b5b9d048cfa09c2d
bgpd: fix crash in the MH cleanup handling

The MH datastructures were being released before the paths that were
referencing them. Fix is to do the MH cleanup last.

The MH finish function has also been stripped down to only do a
datastructure cleanup i.e. avoid sending route updates etc.

Ticket: 31376

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
bgpd/bgp_evpn_mh.c
bgpd/bgp_main.c
bgpd/bgpd.c