Re: [PATCH v2 bpf] bpf: Disable migration in nf_hook_run_bpf().

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

 



Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> wrote:
> syzbot reported that the netfilter bpf prog can be called without
> migration disabled in xmit path.
> 
> Then the assertion in __bpf_prog_run() fails, triggering the splat
> below. [0]
> 
> Let's use bpf_prog_run_pin_on_cpu() in nf_hook_run_bpf().

Acked-by: Florian Westphal <fw@xxxxxxxxx>




[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