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

Bug fix for race condition and unpredictable presence of DONE packet. #227

Merged
merged 1 commit into from
Nov 3, 2023

Commits on Sep 9, 2023

  1. Bug fix for race condition and unpredictable presence of DONE packet.

    This commit addresses two separate issues:
    
    1. There was previously a short window where a message was sent to the
    netlink socket, but the sequence number had not yet been registered
    for routing back to the context that it was sent from. This caused
    messages to periodically disappear unexpectedly.
    2. There was some inconsistency in how Nlmsg::Done packets were handled.
    This commit standardizes on always returning them from the iteratora.
    While this may not be preferable from a user standpoint, it will
    significantly simplify the code, resulting in less room for error in the
    future.
    jbaublitz committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    cce5855 View commit details
    Browse the repository at this point in the history