diff options
author | Carlos Llamas <[email protected]> | 2024-09-26 23:36:17 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-10-13 17:12:22 +0200 |
commit | ca63c66935b978441055e3d87d30225267f99329 (patch) | |
tree | 57b2a32bbba876272cf05c8448baebd0bedc283a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 595ea72efff9fa65bc52b6406e0822f90841f266 (diff) |
binder: allow freeze notification for dead nodes
Alice points out that binder_request_freeze_notification() should not
return EINVAL when the relevant node is dead [1]. The node can die at
any point even if the user input is valid. Instead, allow the request
to be allocated but skip the initial notification for dead nodes. This
avoids propagating unnecessary errors back to userspace.
Fixes: d579b04a52a1 ("binder: frozen notification")
Cc: [email protected]
Suggested-by: Alice Ryhl <[email protected]>
Link: https://lore.kernel.org/all/CAH5fLghapZJ4PbbkC8V5A6Zay-_sgTzwVpwqk6RWWUNKKyJC_Q@mail.gmail.com/ [1]
Signed-off-by: Carlos Llamas <[email protected]>
Acked-by: Todd Kjos <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions