]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Free non-best paths also during table cleanup
authorvivek <vivek@cumulusnetworks.com>
Fri, 15 May 2020 21:32:38 +0000 (14:32 -0700)
committervivek <vivek@cumulusnetworks.com>
Fri, 15 May 2020 21:32:38 +0000 (14:32 -0700)
commit9514b37def9fd659b932ef33000453050a7fc12d
treeddc8367316f30fb3c9b22e44d2b4d0acd7369910
parent36caef199ae3af4efddda7b5d2a6d9f43b8f58c4
bgpd: Free non-best paths also during table cleanup

Non-best paths (path info structures) also need to be freed during
table cleanup not only to release their memory but to also ensure
any linkages are updated correctly. One such example is for EVPN
where there is a link between the imported path info (in a L2 or
L3 vrf instance) and its parent path info.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
bgpd/bgp_route.c