Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: Release SID on router deletion #17913

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sokolmish
Copy link
Contributor

Closes #15753 .

We need to call sid_unregister() in order to release a SID, which is called from the delete_vrf_tovpn_sid() and vpn_leak_postchange(). The problem is that vpn_leak_postchange() seems not to be called when we delete a router. I only see calls to vpn_leak_prechange() in bgp_delete(). It also seems that calling the whole postchange there would be incorrect.

Signed-off-by: Mikhail Sokolovskiy <[email protected]>
@Sokolmish
Copy link
Contributor Author

CI:rerun

@ton31337 ton31337 requested a review from cscarpitta January 24, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

An issue with manually assigned srv6 vpn sid in BGP
1 participant