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

bgp io counters are inconsistently read (sometimes atomic, sometimes not) #1603

Closed
louberger opened this issue Jan 7, 2018 · 0 comments
Closed
Assignees

Comments

@louberger
Copy link
Member

Looking at how update_out is used, it is always set using an atomic operation, but sometimes it is read using atomic_load (bgp_vty.c:7143) and other times not (bgp_show_peer, bgp_snmp.c). It looks like atomic should always be used. Same issue exists for other _out counters incremented in bgp_write.

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

No branches or pull requests

2 participants