]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: remove extcommunity attribute on leaked route if empty
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 8 Jun 2020 18:05:40 +0000 (18:05 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 11 Jun 2020 11:19:34 +0000 (04:19 -0700)
commit1995cb77bfc8a2b437044763054f417d4c1d8de6
tree8ed046381ba5654dba7d78bad20f0a719ba5e866
parent14dee36af1f01e6b94e61e0c6a33c61902374cb1
bgpd: remove extcommunity attribute on leaked route if empty

Problem reported where bgp sessions were being torn down for ibgp
peers with the reason being optional attribute error.  Found that
when a route was leaked, the RTs were stripped but the actual
EXTCOMMUNUNITY attribute was not cleared so an empty ecommunity
attribute stayed in the bgp table and was sent in updates.

Ticket: CM-30000
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_mplsvpn.c