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: remove duplicated statistics of upd.drop #14828

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

ChenChuang-23
Copy link

Note: Please adhere to Contributing Guidelines.

Summary

The valule of g_netstats.udp.drop has been increased in net_dataevent() function,
while it is increased in udp_datahandler().

Impact

The statistical count of lost packets is twice the actual count of lost packets..

Testing

**

@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small labels Nov 17, 2024
Copy link
Contributor

@acassis acassis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChenChuang-23 please include the Summary comment in the commit log message

The valule of g_netstats.udp.drop has been increased in net_dataevent() function,
while it is increased in udp_datahandler().
@anchao anchao merged commit 0c2ee8b into apache:master Nov 18, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants