]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Test accounting of tail calls when prog is NULL
authorHari Bathini <hbathini@linux.ibm.com>
Mon, 16 Feb 2026 09:08:02 +0000 (14:38 +0530)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 25 Feb 2026 01:09:27 +0000 (17:09 -0800)
commit8ebfe65e22d5016c0ef2f7b5831117202493f794
tree2e1f7bacde4e1ce01e57e145116768b7002be79d
parentc89b50cc6b9f3df4e21e5b9c10dcdfe830200c72
selftests/bpf: Test accounting of tail calls when prog is NULL

Test whether tail call count is incorrectly accounted for, when the
tail call fails due to a missing BPF program.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Link: https://lore.kernel.org/r/20260216090802.1805655-1-hbathini@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/tailcall3.c