]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/bpf: Use memset32() to pre-fill traps in BPF page(s)
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Mon, 27 Mar 2017 19:37:41 +0000 (01:07 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Aug 2017 13:04:47 +0000 (23:04 +1000)
commit095b56f61356a47a9798c3b14211cdf87e0967a6
treef9c328318fdc82b5e7ecf21d2defc2ecce475ed7
parent43e762419ad15817f8e64c76b766a6fc2cfdae95
powerpc/bpf: Use memset32() to pre-fill traps in BPF page(s)

Use the newly introduced memset32() to pre-fill BPF page(s) with trap
instructions.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/net/bpf_jit_comp64.c