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

core/logging: Fix race in writing to vrb_ep_ops #10588

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 28, 2024

  1. core/logging: Fix race in writing to vrb_ep_ops

    'vrb_ep_ops' is a static object which field 'ops_open' gets
    overriden in 'vrb_open_ep'. If the operation is performed by
    multiple threads at once, which is totally possible, we end
    up with a data race. Switching it to thread local fixes it.
    
    Signed-off-by: Dariusz Sciebura <[email protected]>
    dsciebu committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    c767dcc View commit details
    Browse the repository at this point in the history