Re: [PATCH bpf-next v6 2/3] selftests/bpf: Add a test case to confirm a tailcall infinite loop issue has been prevented

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 9/10/24 12:37, Eduard Zingerman wrote:
> On Wed, 2024-10-09 at 00:13 +0800, Leon Hwang wrote:
>> cd tools/testing/selftests/bpf; ./test_progs -t tailcalls
>> 335/26  tailcalls/tailcall_bpf2bpf_freplace:OK
>> 335     tailcalls:OK
>> Summary: 1/26 PASSED, 0 SKIPPED, 0 FAILED
> 
> Nit: commit message would be more useful with a small description of
>      the added test.
> 

Sure. The commit message can be:

Add a test case to confirm that it must fail to attach a tail callee
prog with freplace prog, and must fail to update an extended prog to
prog_array map. It's to prevent an infinite loop issue cause by the
combination of tailcall and freplace.

>>
>> Signed-off-by: Leon Hwang <leon.hwang@xxxxxxxxx>
>> ---
> 
> Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>
> 
> [...]
> 

Thanks,
Leon





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux