]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix params/checks for route leaking and L3VPN
authorvivek <vivek@cumulusnetworks.com>
Tue, 27 Mar 2018 00:04:24 +0000 (17:04 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 25 Apr 2018 16:39:16 +0000 (12:39 -0400)
commitd793761d5a3355225d147f3ba853a56537dbf330
tree86817023f1270bc9423d9ae5187f6dabe60fec02
parentf4882003c6331b6f230ca67ab3b48357204d7abc
bgpd: Fix params/checks for route leaking and L3VPN

When routes are injected into the VPN table and then leaked into candidate
VRFs, the source should be the default instance. Also, the loop check when
withdrawing routes from a VRF should be that the route's origin isn't that
VRF; this handles VRF route leaking also and is consistent with checks in
other places.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
(cherry picked from commit 0149d2848c59bfb3277592caf0a5d5e07a2de872)

Ticket: CM-20256
bgpd/bgp_mplsvpn.c