]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Lock originating bgp pointer for vrf route leaking
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 May 2018 22:17:17 +0000 (18:17 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 31 May 2018 13:43:07 +0000 (09:43 -0400)
commit21d88ef7611a0c5a26bde88aab2d3bb2d03989e5
tree7881ed63bb2768bcb7732bc6710576163a7e334c
parent122eebd85a9562391af33451d1c323aa87ab400b
bgpd: Lock originating bgp pointer for vrf route leaking

There exists cases where we will attempt to hard delete
the bgp instance( say a `no router bgp` is issued )
when we have vrf route leaking.  If we do have this
lock the bgp instance of the originator and do not
let it be deleted out from under us until we are
finished processing.

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