]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix evpn attributes being dropped on input mergify/bp/stable/10.3/pr-18378
authorTuetuopay <tuetuopay@me.com>
Mon, 17 Mar 2025 14:08:15 +0000 (15:08 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sun, 23 Mar 2025 10:40:50 +0000 (10:40 +0000)
commita095dd659d1c09547857d90a74ff9e203280eef8
tree83d673bf5951ddd179634885ead6079cbeb87911
parent1d957df8801ac006f3b6cc545b13f2c8e9d99c70
bgpd: fix evpn attributes being dropped on input

All assignments of the EVPN attributes (ESI and Gateway IP) are gated
behind the peer being set up for inbound soft-reconfiguration.

There are no actual reasons for this limitation, so let's perform the
EVPN attribute assignment no matter what when soft reconfiguration is
not enabled.

Fixes: 6e076ba5231 ("bgpd: Fix for ain->attr corruption during path update")
Signed-off-by: Tuetuopay <tuetuopay@me.com>
(cherry picked from commit 7320659f78cbe86dd983d5101831120fc14583d7)
bgpd/bgp_route.c
tests/topotests/bgp_evpn_route_map_set/r2/frr.conf