]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: The deletion of a bgp route does not need to send some data
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 21 Apr 2018 23:59:25 +0000 (19:59 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 22 Apr 2018 00:08:16 +0000 (20:08 -0400)
commita831bfd0b80d8641846e13108ce5a29ef90ba113
tree5948c706779f270a08954129d7854635fe14d15b
parent8aeee10fe217316ca3cdb6423169b2efc413762a
bgpd: The deletion of a bgp route does not need to send some data

When sending a bgp route down to zebra for deletion, the
ZEBRA_FLAG_ALLOW_RECURSION and ZEBRA_FLAG_IBGP flags
are not needed in zebra.  So remove the setting
of the api.flags.  If we remove this data from being
passed down we no longer need the peer data structure.

Remove the lookup of the peer data structure and the setting
of the flags as that peer was NULL in some evpn symmetric
routing cases for shutdown of bgp.

Ticket: CM-20720
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_zebra.c