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 crashes caused by improper error handling on bpf_look/update/delete_elem #2623

Merged
merged 2 commits into from
Jun 3, 2023

Commits on May 24, 2023

  1. Fix crashes caused by improper error handling for bpf_*_elem

    bpf_*_elem returns -errno when error occured. These functions will
    return -ENOENT(-2) when they failed to find a entry. It's a harmless
    error that could be found when doing delete and print/zero/clear
    operations on the same map simultaneously. It's not reasonable to
    stop the whole program at this moment.
    
    Signed-off-by: maokelong <chenjinglong1@huawei.com>
    maokelong committed May 24, 2023
    Configuration menu
    Copy the full SHA
    6a9bbf3 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2023

  1. Add runtime test for parallel map accessing

    Signed-off-by: maokelong <chenjinglong1@huawei.com>
    maokelong committed May 27, 2023
    Configuration menu
    Copy the full SHA
    41e485f View commit details
    Browse the repository at this point in the history