summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2026-07-01 11:17:43 -0700
committerAndrii Nakryiko <andrii@kernel.org>2026-07-01 11:17:43 -0700
commitf29997a6d920cdfa2c43995e17c596c599ff261b (patch)
treebfa65907811f4a6c2276a73f1b1eb4be525d7770 /include
parenta954c9e3168cdf0c3cad07b43dfc8ca2945d773a (diff)
parentf7f540e19751face50c68bb9ce58460fcb46c293 (diff)
downloadlinux-f29997a6d920cdfa2c43995e17c596c599ff261b.tar.gz
linux-f29997a6d920cdfa2c43995e17c596c599ff261b.zip
Merge branch 'tools-bpf-bpftool-fix-vmlinux-btf-state-cleanup'
Yichong Chen says: ==================== tools/bpf/bpftool: Fix vmlinux BTF state cleanup This series fixes stale vmlinux BTF state in bpftool batch mode. Patch 1 resets the map command cached vmlinux BTF pointer when the command releases it, and avoids freeing the cached object from the map lookup path. Patch 2 resets the struct_ops command cached vmlinux BTF pointer and dependent cached map info state after each struct_ops command. Changes in v4: - Add Emil's Reviewed-by tag to patch 1. - Inline the struct_ops cleanup instead of adding a helper. Changes in v3: - Add Fixes tags to both patches. Changes in v2: - Fold the map lookup path fix into patch 1. - Update patch 1 subject and commit message to cover map commands rather than only map dump. ==================== Link: https://patch.msgid.link/12A35C14DA710D2E+20260624025055.1574875-1-chenyichong@uniontech.com Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions