Re: [PATCH bpf-next 05/10] bpf: implement accurate raw_tp context access via BTF

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

 



On 10/8/19 10:10 PM, Andrii Nakryiko wrote:
> for_each_member(i, t, member) {
>      if (moff + msize <= off)
>          continue; /* no overlap with member, yet, keep iterating */
>      if (moff >= off + size)
>          break; /* won't find anything, field is already too far */
> 
>      /* overlapping, rest of the checks */

makes sense. I'll tweak the comments and checks.




[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