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

fix data race when getting capabilities from neighbor config #2799

Closed
wants to merge 1 commit into from

Conversation

hardeker
Copy link
Contributor

capabilitiesFromConfig was always taken under the read lock. However, when graceful restart is enabled for some families, this function writes to the neighbor config which creates a data race.

Func capabilitiesFromConfig was always taken under the read lock.
However, when graceful restart is enabled for some families, this
function writes to the neighbor config which creates a data race.
@fujita
Copy link
Member

fujita commented Apr 29, 2024

Thanks!

@fujita fujita closed this Apr 29, 2024
@hardeker hardeker deleted the gr_data_race branch April 30, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants