Re: Unexpected behavior from BPF/XDP program

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

 



On 12/20/23 01:31, Alexei Starovoitov wrote:
On Tue, Dec 19, 2023 at 7:00 AM Farbod Shahinfar
<farbod.shahinfar@xxxxxxxxx> wrote:

The kernel versions tested are:

- v6.1.0
- v6.5.6
- v6.6.0

..

I suspect the issue is related to the use of bpf_loop but I do not have
any strong evidence. Is this a known issue? Have I done something wrong?

You haven't done anything wrong :)
bpf_loop is indeed broken in kernels 6.5 and earlier
until the fixes are backported.

These patches fixed the issue:
https://lore.kernel.org/all/20231121020701.26440-1-eddyz87@xxxxxxxxx/

Are you sure you've tested on 6.6 ?
Above fixes should be there.

Thank you for the response. I think the patches you mentioned have not been merged into the mainline kernel. After receiving your response, I checked v6.6.7 from kernel.org and still had the problem.

I also tried the bpf-next branch. I think the bug has been fixed there.

Best regards,
Farbod




[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