diff options
| author | Uladzislau Rezki (Sony) <[email protected]> | 2025-06-10 17:34:48 +0000 |
|---|---|---|
| committer | Joel Fernandes <[email protected]> | 2025-06-20 19:31:48 +0000 |
| commit | 33b6a1f155d627f5bd80c7485c598ce45428f74f (patch) | |
| tree | dc4a2892a5c619284e704d16dcb5fd67d4a362f7 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | Merge tag 'gpio-fixes-for-v6.16-rc3' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-33b6a1f155d627f5bd80c7485c598ce45428f74f.tar.gz kernel-33b6a1f155d627f5bd80c7485c598ce45428f74f.zip | |
rcu: Return early if callback is not specified
Currently the call_rcu() API does not check whether a callback
pointer is NULL. If NULL is passed, rcu_core() will try to invoke
it, resulting in NULL pointer dereference and a kernel crash.
To prevent this and improve debuggability, this patch adds a check
for NULL and emits a kernel stack trace to help identify a faulty
caller.
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Reviewed-by: Joel Fernandes <[email protected]>
Signed-off-by: Joel Fernandes <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
