Skip to content
Commit b21074cc authored by Paul Chaignon's avatar Paul Chaignon Committed by Paul Gortmaker
Browse files

bpf, mips: Limit to 33 tail calls



commit e49e6f6d upstream.

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: b6bd53f9 ("MIPS: Add missing file for eBPF JIT.")
Reported-by: default avatarMahshid Khezri <khezri.mahshid@gmail.com>
Signed-off-by: default avatarPaul Chaignon <paul.chaignon@orange.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarMartin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/b8eb2caac1c25453c539248e56ca22f74b5316af.1575916815.git.paul.chaignon@gmail.com


Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 5c868502
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment