kernel-fxtec-pro1x/arch/mips/net
Paul Chaignon e240f26a7f bpf, mips: Limit to 33 tail calls
[ Upstream commit e49e6f6db04e915dccb494ae10fa14888fea6f89 ]

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: b6bd53f9c4 ("MIPS: Add missing file for eBPF JIT.")
Reported-by: Mahshid Khezri <khezri.mahshid@gmail.com>
Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/b8eb2caac1c25453c539248e56ca22f74b5316af.1575916815.git.paul.chaignon@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-12 12:17:12 +01:00
..
bpf_jit.c bpf: get rid of pure_initcall dependency to enable jits 2018-01-19 18:37:00 -08:00
bpf_jit.h MIPS: BPF: Introduce BPF ASM helpers 2015-06-21 21:54:25 +02:00
bpf_jit_asm.S MIPS: BPF: Replace __mips_isa_rev with MIPS_ISA_REV 2018-03-09 11:22:47 +00:00
ebpf_jit.c bpf, mips: Limit to 33 tail calls 2020-01-12 12:17:12 +01:00
Makefile MIPS: Add support for eBPF JIT. 2017-06-28 12:22:39 +02:00