Re: Suspicious RCU usage in bpf_ipv4_fib_lookup

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

 



On 4/27/20 11:02 AM, Lorenz Bauer wrote:
> This happens on today's bpf-next. There is a comment in bpf_ipv4_fib_lookup:
> 
>     /* xdp and cls_bpf programs are run in RCU-bh so
>     * rcu_read_lock_bh is not needed here
>     */
> 
> Maybe this is not the case for BPF_PROG_TEST_RUN?

Looking at the code I believe that is the problem.



[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