]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix missing delete from the list in dampening
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 28 Jul 2021 22:43:59 +0000 (01:43 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 29 Jul 2021 21:59:19 +0000 (00:59 +0300)
commit755a977b8aef231bae28994159eef2ffcfd5b599
tree09479cbf99207e5f73913428f55b897d873dd79c
parent97766ac8aa40ff8868a854ba8515c9e6441e4b7c
bgpd: fix missing delete from the list in dampening

When bgp_damp_info_free is called from bgp_route.c, we were never
deleting the BDI from the list.

Move the deletion inside bgp_damp_info_free to cover all cases.

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