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

[SMF] Fix metric bearers_active #1960

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

bmeglic
Copy link
Contributor

@bmeglic bmeglic commented Dec 16, 2022

Metric 'bearers_active' was incremented in only one code path (smf_bearer_add() for 4G only), while it was decremented from two paths (smf_bearer_remove() for both 4G and 5G).
Increment metric also for 5G path (smf_qos_flow_add()), so it won't get decremented into negative values.

Metric 'bearers_active' was incremented in only one code path
(smf_bearer_add() for 4G only), while it was decremented from two paths
(smf_bearer_remove() for both 4G and 5G).
Increment metric also for 5G path (smf_qos_flow_add()), so it won't get
decremented into negative values.
@acetcom acetcom merged commit 38aadb7 into open5gs:main Dec 17, 2022
@acetcom
Copy link
Member

acetcom commented Dec 17, 2022

@bmeglicit

Thank you so much!
Sukchan

@bmeglic bmeglic deleted the smf_fix_metric_bearers_active branch December 20, 2022 06:32
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.

None yet

2 participants