aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorQuentin Monnet <quentin.monnet@netronome.com>2018-10-07 07:56:54 -0400
committerDaniel Borkmann <daniel@iogearbox.net>2018-10-08 04:24:13 -0400
commitbdf4c66faf5fa6fd5ffb0b59c39c7629103d6479 (patch)
tree0b8b6af330756c93b4cda35eb61fabe929b373f8 /kernel/bpf/arraymap.c
parentfb1981654129e9c71af4c0f2782c5ffde8cbf37f (diff)
nfp: bpf: update fixup function for BPF-to-BPF calls support
Relocation for targets of BPF-to-BPF calls are required at the end of translation. Update the nfp_fixup_branches() function in that regard. When checking that the last instruction of each bloc is a branch, we must account for the length of the instructions required to pop the return address from the stack. Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions