aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorPaul Chaignon <[email protected]>2019-12-09 18:52:52 +0000
committerDaniel Borkmann <[email protected]>2019-12-11 12:57:22 +0000
commite49e6f6db04e915dccb494ae10fa14888fea6f89 (patch)
tree15bc7b936f5dab803ec4e14f0b2ff33decee73c2 /tools/bpf/bpftool/prog.c
parentbpf, riscv: Limit to 33 tail calls (diff)
downloadkernel-e49e6f6db04e915dccb494ae10fa14888fea6f89.tar.gz
kernel-e49e6f6db04e915dccb494ae10fa14888fea6f89.zip
bpf, mips: Limit to 33 tail calls
All BPF JIT compilers except RISC-V's and MIPS' enforce a 33-tail calls limit at runtime. In addition, a test was recently added, in tailcalls2, to check this limit. This patch updates the tail call limit in MIPS' JIT compiler to allow 33 tail calls. Fixes: b6bd53f9c4e8 ("MIPS: Add missing file for eBPF JIT.") Reported-by: Mahshid Khezri <[email protected]> Signed-off-by: Paul Chaignon <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/b8eb2caac1c25453c539248e56ca22f74b5316af.1575916815.git.paul.chaignon@gmail.com
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions