]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix double free in dampening code 9223/head
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 28 Jul 2021 21:14:31 +0000 (00:14 +0300)
committermergify-bot <noreply@mergify.io>
Thu, 29 Jul 2021 08:48:45 +0000 (08:48 +0000)
commitd46320367a97d6b414f5a01c0c4e8b43b0dd024c
tree296125b7da82815c741a945898f3e13bdfeebf29
parent1ee06e709804f4fb5e5f5ea3bbdd3e61df62cd85
bgpd: fix double free in dampening code

bgp_damp_info_unclaim already calls bgp_reuselist_del. We must not call
it again here.

Fixes #9046.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 96d6b8cc29bf5124ae93433ecfc16b3fd69be5ea)
bgpd/bgp_damp.c