]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: router mac same as self supress bgp update 3848/head
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 28 Feb 2019 00:36:47 +0000 (16:36 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Mon, 4 Mar 2019 17:56:13 +0000 (09:56 -0800)
commit5c14a191826ea67cdc4499fbc714b76b70cd7998
tree4b4125c3959190b8e72847824a0e89c51dd22078
parenteee353c5565fff0cd7d3d4656065c5267fabec07
bgpd: router mac same as self supress bgp update

bgp update can contain router mac address same as one of SVIs
mac address, during processing of evpn route in bpg_update()
check for the flag is set and filter the route from installing.
This check is done prior to attribute lookup or storing in database.

Parse check and set is done once during attribute parse
because all the NLRIs containing evpn prefix
(type-2/type-5) will have same exntended community applicable.

Ticket:CM-23674
Reviewed By:CCR-8336
Testing Done:

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/bgp_route.c