]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Revert "bgpd: fix missing damp info free when cleaning bgp path"
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 2 Aug 2021 10:33:09 +0000 (13:33 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 6 Aug 2021 18:35:03 +0000 (21:35 +0300)
This reverts commit 4538f89552a01e6ab3504f8a59ef156b9a14ce1c.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_route.c

index b898de5c410c48205ff28bc9b83f5b866d1397ef..37e3aba87682e5b98f6386332e3ea751d5b1e45b 100644 (file)
@@ -217,10 +217,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;