diff options
| author | Russ White <russ@riw.us> | 2020-05-18 17:24:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-18 17:24:48 -0400 |
| commit | 63a03cfbe9de29b1b012e3e2ff8beabdf6226315 (patch) | |
| tree | 6a2a0491a209e806317e347bff4f1e51c5c42286 | |
| parent | 3bb8051aa22b7e325a01b8ddcdd8c48da6c4f2dd (diff) | |
| parent | 9514b37def9fd659b932ef33000453050a7fc12d (diff) | |
Merge pull request #6420 from vivek-cumulus/bgpd-paths-cleanup
bgpd: Free non-best paths also during table cleanup
| -rw-r--r-- | bgpd/bgp_route.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index e8151d94ed..cd377b32ca 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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); } } |
