Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf, verifier: Check trampoline target is tail_call_reachable subprog
In the x86_64 JIT, tailcall info is propagated through the trampoline when the target program is tail_call_reachable. However, this propagation is unnecessary if the target is a main prog, or a subprog that is not tail_call_reachable. Since the verifier can determine if a subprog is tail_call_reachable, it should only propagate tailcall info when the target is subprog and the subprog is actually tail_call_reachable. Acked-by: Yonghong Song <[email protected]> Signed-off-by: Leon Hwang <[email protected]>
- Loading branch information