Re: [PATCH bpf-next] bpf, sockmap: Simplify iteration on link removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 7, 2025 at 2:17 AM Michal Luczaj <mhal@xxxxxxx> wrote:
>
> Since commit 75e072a390da ("bpf, sockmap: Fix update element with same"),
> using the _safe variant of list_for_each_entry() is unnecessary.

This is too subtle.
Somebody modifying this function next would have to keep
all these nuances in mind.
Let's keep it as-is.

pw-bot: cr





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux