Re: [bug report] bpf: Inline calls to bpf_loop when callback is known

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

 



On Thu, Jun 23, 2022 at 2:05 AM Eduard Zingerman <eddyz87@xxxxxxxxx> wrote:
call_insn_offset - 1;
> > --> 14420         env->prog->insnsi[call_insn_offset].imm = callback_offset;
...
> >
> >       new_prog->insnsi[call_insn_offset].imm = callback_offset;
>
> Yes, I agree.

Good catch. The fix makes sense.

>
> Alexei, could you please suggest how should I proceed:
> - submit a new patch with a fix, or
> - submit a the complete patchset with the fix included?

The patchset already landed (see bpf-next). We don't revert
for cases like this. Please send a follow up patch.



[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