diff options
author | Alexei Starovoitov | 2019-06-15 00:43:28 +0200 |
---|---|---|
committer | Alexei Starovoitov | 2019-06-15 03:02:25 +0200 |
commit | fe8d9571dc50232b569242fac7ea6332a654f186 (patch) | |
tree | 5278d30db2ccb8b0b61d787ab9c867482b1de0a7 /arch/x86/kernel | |
parent | bpf, devmap: Add missing RCU read lock on flush (diff) | |
download | kernel-qcow2-linux-fe8d9571dc50232b569242fac7ea6332a654f186.tar.gz kernel-qcow2-linux-fe8d9571dc50232b569242fac7ea6332a654f186.tar.xz kernel-qcow2-linux-fe8d9571dc50232b569242fac7ea6332a654f186.zip |
bpf, x64: fix stack layout of JITed bpf code
Since commit 177366bf7ceb 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: 177366bf7ceb ("bpf: change x86 JITed program stack layout")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions