summaryrefslogtreecommitdiff
path: root/lib/lib_errors.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-05-08 22:16:04 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-11 08:02:05 -0400
commit528cd74fd326517b2c9d941c9e9803c6c8d17515 (patch)
treeca35bf426330a46c68b570e7762fc83ac5e44be6 /lib/lib_errors.h
parent3dc755e492093c42d0983620da810893c413c533 (diff)
bgpd: Update parent entry's refcount for imported routes
Imported routes in a VRF routing table have a reference to their parent route entry which resides in the EVPN or IPVPN routing table. Ensure that this reference uses appropriate locking so that the parent entry doesn't get freed prematurely. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> (cherry picked from commit 13cb6b22ba9d558b1b4a1e8752f63f13242462a7) Conflicts: bgpd/bgp_mplsvpn.c Ticket: CM-20471 Testing Done: a) Ran vrf_route_leak tests without fix and hit crash, ran twice with fix and did not see the crash. b) Ran evpn-smoke and ensured there were no new failures.
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions