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: GetDevlinkDeviceParam to handle edge-cases correctly #782

Merged

Commits on Sep 23, 2024

  1. Fix: GetDevlinkDeviceParam to handle edge-cases correctly

    On some kernels GetDevlinkDeviceParam may return empty values
    for some kernel parameters. The netlink library is able to handle this, but
    the code in GetDevlinkDeviceParam function may panic if unexpected value
    received. Add extra checks to avoid panics
    ykulazhenkov committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    61aacb5 View commit details
    Browse the repository at this point in the history