Skip to content

bgpd: Don't mark nexthop as changed if a set next-hop unchanged is applied (backport #21445)#21525

Merged
donaldsharp merged 2 commits intostable/10.5from
mergify/bp/stable/10.5/pr-21445
Apr 14, 2026
Merged

bgpd: Don't mark nexthop as changed if a set next-hop unchanged is applied (backport #21445)#21525
donaldsharp merged 2 commits intostable/10.5from
mergify/bp/stable/10.5/pr-21445

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify bot commented Apr 14, 2026


This is an automatic backport of pull request #21445 done by [Mergify](https://mergify.com).

mwinter-osr and others added 2 commits April 14, 2026 11:07
…plied

An inbound policy preserving the received nexthop into the RIB shouldn't
prevent the outbound decision to set next-hop-self or reset the nexthop
for EBGP. Those are independent decisions. If an operator wants the nexthop
preserved on outbound, they configure neighbor X next-hop-unchanged
or an outbound route-map with set ip next-hop unchanged (which would
set the flag in out_rmap_flags).

Fixes: a725bf4 ("bgpd:Fixing a conflict issue between rmap_in_change_flag and rmap_out_change_flag.")

Signed-off-by: Martin Winter <[email protected]>
Signed-off-by: Donatas Abraitis <[email protected]>
(cherry picked from commit e14d1bd)
… outgoing

Signed-off-by: Donatas Abraitis <[email protected]>
(cherry picked from commit 8de3f04)
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Apr 14, 2026

Target branch is not in the allowed branches list.

@frrbot frrbot bot added bgp bugfix tests Topotests, make check, etc labels Apr 14, 2026
@donaldsharp donaldsharp merged commit c62c146 into stable/10.5 Apr 14, 2026
20 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants