Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libbpf/libbpf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.0
Choose a base ref
...
head repository: libbpf/libbpf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.1
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on May 19, 2025

  1. libbpf: Check bpf_map_skeleton link for NULL

    Avoid dereferencing bpf_map_skeleton's link field if it's NULL.
    If BPF map skeleton is created with the size, that indicates containing
    link field, but the field was not actually initialized with valid
    bpf_link pointer, libbpf crashes. This may happen when using libbpf-rs
    skeleton.
    Skeleton loading may still progress, but user needs to attach struct_ops
    map separately.
    
    Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
    Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
    Link: https://lore.kernel.org/bpf/20250514113220.219095-1-mykyta.yatsenko5@gmail.com
    (cherry picked from commit 453601a)
    mykyta5 authored and anakryiko committed May 19, 2025
    Configuration menu
    Copy the full SHA
    605f4f0 View commit details
    Browse the repository at this point in the history
  2. libbpf: bump version to v1.5.1

    New patch version bump for v1.5.1.
    
    Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
    anakryiko committed May 19, 2025
    Configuration menu
    Copy the full SHA
    b4fa3e3 View commit details
    Browse the repository at this point in the history
Loading