From: Igor Ryzhov Date: Mon, 2 Aug 2021 10:33:09 +0000 (+0300) Subject: Revert "bgpd: fix missing damp info free when cleaning bgp path" X-Git-Tag: base_8.1~234^2~14 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=2dcaf1814998065ef6128a4b5d56d4831b97dd7c;p=matthieu%2Ffrr.git Revert "bgpd: fix missing damp info free when cleaning bgp path" This reverts commit 4538f89552a01e6ab3504f8a59ef156b9a14ce1c. Signed-off-by: Igor Ryzhov --- diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 4299ea3525..08e643ccdc 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -222,10 +222,7 @@ void bgp_path_info_extra_free(struct bgp_path_info_extra **extra) e = *extra; - if (e->damp_info) - bgp_damp_info_free(e->damp_info, 0); e->damp_info = NULL; - if (e->parent) { struct bgp_path_info *bpi = (struct bgp_path_info *)e->parent;