]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Ensure correct checks for EVPN route import 4847/head
authorvivek <vivek@cumulusnetworks.com>
Mon, 19 Aug 2019 06:07:59 +0000 (23:07 -0700)
committervivek <vivek@cumulusnetworks.com>
Mon, 19 Aug 2019 06:07:59 +0000 (23:07 -0700)
commit3d0b43d7c5cfb4377d7d51966d50616ec37629ab
tree3b136b628bf18f52e5aad689299b7333c179bde8
parentf067bdf8e2a468d1c7f553b212de2520609d081b
bgpd: Ensure correct checks for EVPN route import

In a situation where a VRF has configured route targets for importing
EVPN routes, this configuration may exist prior to the VRF being
ready to have EVPN routes installed into it - e.g., still missing
the L3VNI configuration or associated interface information. Ensure
that this is taken into account during EVPN route import and unimport.
Without this fix, EVPN routes would end up being prematurely imported
into the VRF routing table and consequently installed as inactive
(because the nexthop information would be incorrect when BGP informs
zebra).

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn_private.h