From: Alexei Starovoitov Date: Fri, 21 Jun 2024 02:48:29 +0000 (-0700) Subject: Merge branch 'bpf-verifier-correct-tail_call_reachable-for-bpf-prog' X-Git-Tag: v6.11-rc1~163^2~68^2~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b06304370931f90cd6f50ea9dd55603429b13dc;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'bpf-verifier-correct-tail_call_reachable-for-bpf-prog' Leon Hwang says: ==================== bpf, verifier: Correct tail_call_reachable for bpf prog It's confusing to inspect 'prog->aux->tail_call_reachable' with drgn[0], when bpf prog has tail call but 'tail_call_reachable' is false. This patch corrects 'tail_call_reachable' when bpf prog has tail call. Therefore, it's unnecessary to detect tail call in x86 jit. Let's remove it. Changes: v1 -> v2: * Address comment from Yonghong: * Remove unnecessary tail call detection in x86 jit. Acked-by: Eduard Zingerman --- Links: [0] https://github.com/osandov/drgn ==================== Link: https://lore.kernel.org/r/20240610124224.34673-1-hffilwlqm@gmail.com Signed-off-by: Alexei Starovoitov --- 3b06304370931f90cd6f50ea9dd55603429b13dc