Merge pull request #6420 from vivek-cumulus/bgpd-paths-cleanup

bgpd: Free non-best paths also during table cleanup
This commit is contained in:
Russ White 2020-05-18 17:24:48 -04:00 committed by GitHub
commit 63a03cfbe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4706,8 +4706,9 @@ static void bgp_cleanup_table(struct bgp *bgp, struct bgp_table *table,
if (bgp_fibupd_safi(safi))
bgp_zebra_withdraw(p, pi, bgp, safi);
bgp_path_info_reap(rn, pi);
}
bgp_path_info_reap(rn, pi);
}
}