]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn.c
bgpd: fix evpn type-5 implicit withdraw processing
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 25 Feb 2019 18:07:05 +0000 (10:07 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 26 Feb 2019 22:23:14 +0000 (14:23 -0800)
commitf007bdcef1898ce65826fac7e9b7def5bcd1ca09
treea51531716c28a3927c33e9cb3c83d61fe8c8fef6
parentcacbdfb14ded71e6c36c97a570d30b89c851b2fe
bgpd: fix evpn type-5 implicit withdraw processing

Withdraw flag is not sufficient to call bgp_update vs. bgp_withdraw()
processing for a given BGP evpn update message.

When a bgp update needs to be treated as an implicit withdraw
(e.g., due to malformed attribute), the code wasn't handling
things properly.

Rearranging attribute pass field to type-5 route processing and aligning
similar to done for other routes (type2/type-3).

Ticket:CM-24003
Reviewed By:CCR-8330
Testing Done:

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