Re: [PATCH bpf v2] bpf: don't do bpf_cgroup_storage_set() for kuprobe/tp programs

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

 



On Tue, Mar 9, 2021 at 10:50 AM Yonghong Song <yhs@xxxxxx> wrote:
>                 while ((_prog = READ_ONCE(_item->prog))) {              \
> -                       bpf_cgroup_storage_set(_item->cgroup_storage);  \
> +                       if (set_cg_storage) {           \
> +                               bpf_cgroup_storage_set(_item->cgroup_storage);  \
> +                       }                               \

Extra {} are unnecessary. I removed them while applying.
Thanks!



[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