mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-26 04:54:44 +00:00
Merge pull request #6420 from vivek-cumulus/bgpd-paths-cleanup
bgpd: Free non-best paths also during table cleanup
This commit is contained in:
commit
63a03cfbe9
@ -4706,8 +4706,9 @@ static void bgp_cleanup_table(struct bgp *bgp, struct bgp_table *table,
|
|||||||
|
|
||||||
if (bgp_fibupd_safi(safi))
|
if (bgp_fibupd_safi(safi))
|
||||||
bgp_zebra_withdraw(p, pi, bgp, safi);
|
bgp_zebra_withdraw(p, pi, bgp, safi);
|
||||||
bgp_path_info_reap(rn, pi);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bgp_path_info_reap(rn, pi);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user