diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-07-19 01:21:09 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-07-19 01:21:10 +0300 |
commit | a8237cc87e3de1adb3f2f6a8056621e7e578cc00 (patch) | |
tree | 7c75374670917ca4c75817c5f4807208e6e6096d /arch | |
parent | 8fcd7c7b3a38ab5e452f542fda8f7940e77e479a (diff) | |
parent | 824adae4530b4db1d06987d8dd31a0adef37044f (diff) | |
download | linux-a8237cc87e3de1adb3f2f6a8056621e7e578cc00.tar.xz |
Merge branch 'two-more-fixes-for-check_max_stack_depth'
Kumar Kartikeya Dwivedi says:
====================
Two more fixes for check_max_stack_depth
I noticed two more bugs while reviewing the code, description and
examples available in the patches.
One leads to incorrect subprog index to be stored in the frame stack
maintained by the function (leading to incorrect tail_call_reachable
marks, among other things).
The other problem is missing exploration pass of other async callbacks
when they are not called from the main prog. Call chains rooted at them
can thus bypass the stack limits (32 call frames * max permitted stack
depth per function).
Changelog:
----------
v1 -> v2
v1: https://lore.kernel.org/bpf/20230713003118.1327943-1-memxor@gmail.com
* Fix commit message for patch 2 (Alexei)
====================
Link: https://lore.kernel.org/r/20230717161530.1238-1-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions