在 2026/4/28 02:43, [email protected] 写道: > > commit e4bda22d1a0e4a2ede811c0a776c6aba8b315b5a > Author: Kaitao Cheng <[email protected]> > > bpf: clear list node owner and unlink before drop > > When draining a BPF list_head, this commit ensures each node's owner > pointer is cleared while holding the spinlock and delinks each node before > calling __bpf_obj_drop_impl() to prevent invalid next node references. > > This commit appears to fix a bug but is missing a Fixes: tag. The issue > being addressed traces back to the introduction of bpf_list_head support in > map values. Should this commit include: > > Fixes: f0c5941ff5b2 ("bpf: Support bpf_list_head in map values") > > > --- > AI reviewed your patch. Please fix the bug or email reply why it's not a bug. > See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md > > CI run summary: https://github.com/kernel-patches/bpf/actions/runs/25009536772
The issue only appears after the later patch "bpf: Introduce the bpf_list_del kfunc" is merged. Versions before that are not affected. Therefore, there is no need to add the "Fixes: f0c5941ff5b2" tag. -- Thanks Kaitao Cheng

