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

scion/ping: wait for send go routine to terminate #4392

Merged
merged 1 commit into from
Sep 18, 2023

Commits on Sep 15, 2023

  1. scion/ping: wait for send go routine to terminate

    Wait for the ping sender go routine to terminate before we return the
    stats. With bad luck, the receiver go routine receives all the replies
    before the sender go routine has terminated. Because only the sender
    go routine increments the stats.Sent count, we end up with wrong stats
    that claim more packets were received then sent.
    oncilla committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    d01c141 View commit details
    Browse the repository at this point in the history