diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-10-31 21:55:37 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-11-02 22:20:01 +0000 |
| commit | 40a3a2e686f8c749bb6420ace8190c49f712217e (patch) | |
| tree | d77e94d0b12eb1712057c3a638d7d75b14759d3c /scripts/basic | |
| parent | fcda8096dc5d9cabe86a5bab7fa514d01b5011a7 (diff) | |
| download | linux-40a3a2e686f8c749bb6420ace8190c49f712217e.tar.gz linux-40a3a2e686f8c749bb6420ace8190c49f712217e.zip | |
selftests/bpf: Give the first loop of cond_break5 an end
The main prog of cond_break5 spins until may_goto stops the loop. Then it
calls a subprog and expects that the loop of the subprog makes iterations.
This is true only while each stack frame has a time slice of its own.
Stop the first loop after 100 iterations. The test still makes sure that
may_goto works in the main prog and in a subprog of one prog.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20261031215543.682284-4-alexei.starovoitov@gmail.com
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
