diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2025-07-03 13:48:10 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-03 19:30:06 -0700 |
commit | d090326860096df9dac6f27cff76d3f8df44d4f1 (patch) | |
tree | 2f3958edbb8eb87e8eb46971e81306a923cd487a /scripts/lib/kdoc/kdoc_re.py | |
parent | 0e521efaf36350b8f783984541efa56f560c90b0 (diff) |
bpf: Ensure RCU lock is held around bpf_prog_ksym_find
Add a warning to ensure RCU lock is held around tree lookup, and then
fix one of the invocations in bpf_stack_walker. The program has an
active stack frame and won't disappear. Use the opportunity to remove
unneeded invocation of is_bpf_text_address.
Fixes: f18b03fabaa9 ("bpf: Implement BPF exceptions")
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250703204818.925464-5-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions