kernel_optimize_test/arch/arm/net
Russell King 02088d9b39 ARM: net: bpf: fix register saving
When an eBPF program tail-calls another eBPF program, it enters it after
the prologue to avoid having complex stack manipulations.  This can lead
to kernel oopses, and similar.

Resolve this by always using a fixed stack layout, a CPU register frame
pointer, and using this when reloading registers before returning.

Fixes: 39c13c204b ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2018-01-17 19:38:07 +00:00
..
bpf_jit_32.c ARM: net: bpf: fix register saving 2018-01-17 19:38:07 +00:00
bpf_jit_32.h arm: eBPF JIT compiler 2017-08-22 09:26:43 -07:00
Makefile