summaryrefslogtreecommitdiff
path: root/kernel/bpf/bpf_insn_array.c
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2025-11-04 20:33:08 +0000
committerAndrii Nakryiko <andrii@kernel.org>2025-11-04 13:44:12 -0800
commit4f596acc260e691a2e348f64230392f3472feea3 (patch)
tree05b1bb6e413b727565ceeef74371aec04c0634ed /kernel/bpf/bpf_insn_array.c
parentb3387b312226788db111050ca51d0fb321509d6a (diff)
libbpf: Fix parsing of multi-split BTF
When creating multi-split BTF we correctly set the start string offset to be the size of the base string section plus the base BTF start string offset; the latter is needed for multi-split BTF since the offset is non-zero there. Unfortunately the BTF parsing case needed that logic and it was missed. Fixes: 4e29128a9ace ("libbpf/btf: Fix string handling to support multi-split BTF") Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20251104203309.318429-2-alan.maguire@oracle.com
Diffstat (limited to 'kernel/bpf/bpf_insn_array.c')
0 files changed, 0 insertions, 0 deletions