]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: Fix peer withdrawal and route leaking for vpn's and vrf's
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 20 Mar 2018 13:18:01 +0000 (09:18 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 21 Mar 2018 20:37:24 +0000 (16:37 -0400)
commit3103e8d22f772f101a5c0d85f5423bf1550cdbf7
tree9fa6a5cc243072f451a10de57d59ee4446428941
parent1c7d5a2466fba20497faef3773e01ba137911825
bgpd: Fix peer withdrawal and route leaking for vpn's and vrf's

When a peer is removed the routes are withdrawn via bgp_process_main_one
As such we need to put a bit of code in to handle this situation
for the vpn/vrf route leaking code.

I think this code path is also called for when a vrf's route is
changed and I believe we will end up putting a bit more code
here to handle the nexthop changes.

I've also started trying to document the bgp_process_main_one
function a bit better.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c