]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: Process core when bgp instance is deleted
authorSoman K S <somanks@vmware.com>
Tue, 11 Jun 2019 13:20:09 +0000 (06:20 -0700)
committerSoman K S <somanks@vmware.com>
Tue, 11 Jun 2019 13:20:09 +0000 (06:20 -0700)
commit9f822fa2db72aa0a101a5f92258d7dfb022952ca
treea11a2293e260202f4a82c23c0283b91f2b3a93ca
parent51e6f92ec6ee1b265873c56bc11e7ff915dff155
bgpd: Process core when bgp instance is deleted

* When the bgp is being deleted and routes are in clear workqueue
  and new aggregate address being allocated
* Added flag BGP_FLAG_DELETE_IN_PROGRESS in bgp structure to
  bgp instance is being  deleted
* When adding aggregate route check this flag and  peer_self is valid

Signed-off-by: Soman K S <somanks@vmware.com>
bgpd/bgp_route.c
bgpd/bgpd.c
bgpd/bgpd.h