diff options
| author | Kaitao Cheng <chengkaitao@kylinos.cn> | 2026-05-21 06:23:02 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-21 12:47:45 +0300 |
| commit | 187baa10963ac9f1db5123fa2ab761ab34ea06b9 (patch) | |
| tree | 4dddafbc2a5f322d436b4e078dacac804b32a5c5 /lib/debugobjects.c | |
| parent | 7c8c71591b768284caa81e92cb47a6912952d3f2 (diff) | |
| download | linux-187baa10963ac9f1db5123fa2ab761ab34ea06b9.tar.xz | |
bpf: Introduce the bpf_list_del kfunc.
Allow users to remove any node from a linked list.
We have added an additional parameter bpf_list_head *head to
bpf_list_del, as the verifier requires the head parameter to
check whether the lock is being held.
Signed-off-by: Kaitao Cheng <chengkaitao@kylinos.cn>
Reviewed-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20260521032306.97118-5-kaitao.cheng@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
