Skip to content
Commit 2d71a90f authored by Will Hawkins's avatar Will Hawkins Committed by Daniel Borkmann
Browse files

bpf, docs: Correct source of offset for program-local call



The offset to use when calculating the target of a program-local call is
in the instruction's imm field, not its offset field.

Signed-off-by: default avatarWill Hawkins <hawkinsw@obs.cr>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarEduard Zingerman <eddyz87@gmail.com>
Acked-by: default avatarDavid Vernet <void@manifault.com>
Link: https://lore.kernel.org/bpf/20230826053258.1860167-1-hawkinsw@obs.cr
parent 5439cfa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment