| commit | 3ae4dfe490d8def0899ba17204b2a5a2df7357dd | [log] [tgz] |
|---|---|---|
| author | Jakub Rzeszutko <jakub.rzeszutko@verkada.com> | Mon Oct 20 12:24:31 2025 +0200 |
| committer | Johan Hedberg <johan.hedberg@gmail.com> | Tue Oct 28 11:51:18 2025 +0200 |
| tree | b4ad6239b373708f61c5796a6aea734356cee50b | |
| parent | a4588c0baeab85d0204a631b9f7aa386d9196921 [diff] |
shell: fix deadlock in the bypass function Previously, the bypass() function was called while the shell mutex was still held, preventing the use of shell APIs (e.g. shell_print()) inside the bypass context. This change unlocks the shell mutex before invoking bypass() and locks it again afterwards, restoring proper shell context handling and preventing potential deadlocks. Issue fixed by: roni1234321 Fixes #97722 Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@verkada.com>