linux/arch/x86/net
Alexei Starovoitov fe8d9571dc bpf, x64: fix stack layout of JITed bpf code
Since commit 177366bf7c the %rbp stopped pointing to %rbp of the
previous stack frame. That broke frame pointer based stack unwinding.
This commit is a partial revert of it.
Note that the location of tail_call_cnt is fixed, since the verifier
enforces MAX_BPF_STACK stack size for programs with tail calls.

Fixes: 177366bf7c ("bpf: change x86 JITed program stack layout")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2019-06-14 18:02:25 -07:00
..
bpf_jit_comp32.c bpf, x32: Fix bug for BPF_ALU64 | BPF_NEG 2019-05-01 23:40:47 +02:00
bpf_jit_comp.c bpf, x64: fix stack layout of JITed bpf code 2019-06-14 18:02:25 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00