summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmery Hung <ameryhung@gmail.com>2026-05-28 18:49:29 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-06-01 18:31:41 -0700
commit92d681b42746d4497dcc8afb45edd4af5737542f (patch)
treec198acacc8dedac939585db77dda0719dd5ec27c /include
parent308c7a0ae8859b34d9d90a3dff953b2d14242145 (diff)
downloadlwn-92d681b42746d4497dcc8afb45edd4af5737542f.tar.gz
lwn-92d681b42746d4497dcc8afb45edd4af5737542f.zip
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')
0 files changed, 0 insertions, 0 deletions