Commit 5bd48a3a authored by Matteo Croce's avatar Matteo Croce Committed by Alexei Starovoitov
Browse files

bpf: fix argument type in bpf_loop documentation

The `index` argument to bpf_loop() is threaded as an u64.
This lead in a subtle verifier denial where clang cloned the argument
in another register[1].

[1] https://github.com/systemd/systemd/pull/34650#issuecomment-2401092895



Signed-off-by: default avatarMatteo Croce <teknoraver@meta.com>
Link: https://lore.kernel.org/r/20241010035652.17830-1-technoboy85@gmail.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 40732134
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment