diff options
| author | Amery Hung <ameryhung@gmail.com> | 2026-05-29 04:49:29 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-06-02 04:31:41 +0300 |
| commit | 92d681b42746d4497dcc8afb45edd4af5737542f (patch) | |
| tree | c198acacc8dedac939585db77dda0719dd5ec27c /include/linux | |
| parent | 308c7a0ae8859b34d9d90a3dff953b2d14242145 (diff) | |
| download | linux-92d681b42746d4497dcc8afb45edd4af5737542f.tar.xz | |
bpf: Remove redundant dynptr arg check for helper
unmark_stack_slots_dynptr() already makes sure that CONST_PTR_TO_DYNPTR
cannot be released. process_dynptr_func() also prevents passing
uninitialized dynptr to helpers expecting initialized dynptr. Now that
unmark_stack_slots_dynptr() also reports error returned from
release_reference(), there should be no reason to keep these redundant
checks.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Link: https://lore.kernel.org/r/20260529014936.2811085-7-ameryhung@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
