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]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux