Commit 5bfdb4f
bpf: Disable exceptions when CONFIG_UNWINDER_FRAME_POINTER=y
The build with CONFIG_UNWINDER_FRAME_POINTER=y is broken for
current exceptions feature as it assumes ORC unwinder specific fields in
the unwind_state. Disable exceptions when frame_pointer unwinder is
enabled for now.
Fixes: fd5d27b ("arch/x86: Implement arch_bpf_stack_walk")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20230918155233.297024-4-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent 7d34606 commit 5bfdb4f
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3003 | 3003 | | |
3004 | 3004 | | |
3005 | 3005 | | |
3006 | | - | |
3007 | | - | |
3008 | | - | |
| 3006 | + | |
| 3007 | + | |
3009 | 3008 | | |
3010 | | - | |
| 3009 | + | |
3011 | 3010 | | |
3012 | 3011 | | |
3013 | 3012 | | |
3014 | 3013 | | |
3015 | | - | |
| 3014 | + | |
3016 | 3015 | | |
3017 | 3016 | | |
3018 | 3017 | | |
| |||
0 commit comments