]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc64/bpf: do not increment tailcall count when prog is NULL
authorHari Bathini <hbathini@linux.ibm.com>
Tue, 3 Mar 2026 18:10:25 +0000 (23:40 +0530)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sat, 7 Mar 2026 10:32:26 +0000 (16:02 +0530)
commit521bd39d9d28ce54cbfec7f9b89c94ad4fdb8350
tree1638bda5739b547ebdfc5d3fdf5e7d93bdf57e6d
parentdb54c28702f7270e74dce36c84cb0db4cec96389
powerpc64/bpf: do not increment tailcall count when prog is NULL

Do not increment tailcall count, if tailcall did not succeed due to
missing BPF program.

Fixes: ce0761419fae ("powerpc/bpf: Implement support for tail calls")
Cc: stable@vger.kernel.org
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260303181031.390073-2-hbathini@linux.ibm.com
arch/powerpc/net/bpf_jit_comp64.c