]> 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>
Tue, 3 Aug 2021 18:54:47 +0000 (21:54 +0300)
This reverts commit 4538f89552a01e6ab3504f8a59ef156b9a14ce1c.

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

index 4299ea35259681bee0c02de729a1e0f1ca437dc3..08e643ccdc0058f502bd04b268b7c7249cdbac67 100644 (file)
@@ -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;