diff options
| author | Leon Hwang <[email protected]> | 2023-09-06 15:42:56 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-09-11 22:28:24 +0000 |
| commit | 96daa9874211d5497aa70fa409b67afc29f0cb86 (patch) | |
| tree | 9970b69d127792f9e8f6105f31d4fb318a8637f7 /tools/net/ynl/generated/netdev-user.c | |
| parent | bpftool: Fix -Wcast-qual warning (diff) | |
| download | kernel-96daa9874211d5497aa70fa409b67afc29f0cb86.tar.gz kernel-96daa9874211d5497aa70fa409b67afc29f0cb86.zip | |
selftests/bpf: Correct map_fd to data_fd in tailcalls
Get and check data_fd. It should not check map_fd again.
Meanwhile, correct some 'return' to 'goto out'.
Thank the suggestion from Maciej in "bpf, x64: Fix tailcall infinite
loop"[0] discussions.
[0] https://lore.kernel.org/bpf/[email protected]/T/#m7d3b601066ba66400d436b7e7579b2df4a101033
Fixes: 79d49ba048ec ("bpf, testing: Add various tail call test cases")
Fixes: 3b0379111197 ("selftests/bpf: Add tailcall_bpf2bpf tests")
Fixes: 5e0b0a4c52d3 ("selftests/bpf: Test tail call counting with bpf2bpf and data on stack")
Signed-off-by: Leon Hwang <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions
