]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Do not delete peer_af when deactivating peer-group. 9145/head
authorzyxwvu Shi <shiyuchen.syc@bytedance.com>
Wed, 26 May 2021 02:33:55 +0000 (10:33 +0800)
committermergify-bot <noreply@mergify.io>
Fri, 23 Jul 2021 09:15:54 +0000 (09:15 +0000)
commit44bb3ab442eb2008ddeb30c078a709fc4a6468b6
tree9bdb55669a5a3f43ed7feb4359768925ec286de8
parent381752f3679b43f53f5c72e91153729853930a3f
bgpd: Do not delete peer_af when deactivating peer-group.

There is no peer_af allocated in `peer_activate`. Trying to delete
the structure just results in an no-op and a error return value.
The error message "couldn't delete af structure for peer" is
unexpected.

Signed-off-by: zyxwvu Shi <shiyuchen.syc@bytedance.com>
(cherry picked from commit 3057d1e45af0c7789a3b7adfcae882b0234fbf4c)
bgpd/bgpd.c