diff options
author | 2024-11-18 13:14:07 +0100 | |
---|---|---|
committer | 2024-11-21 12:44:07 +0100 | |
commit | 588a9836a4ef7ec3bfcffda526dfa399637e6cfc (patch) | |
tree | f62e36972a50a6ad8c529d79e0af319358184ef0 /rust/kernel | |
parent | s390/mm: Remove bogus comment in __tlb_flush_mm() (diff) | |
download | wireguard-linux-588a9836a4ef7ec3bfcffda526dfa399637e6cfc.tar.xz wireguard-linux-588a9836a4ef7ec3bfcffda526dfa399637e6cfc.zip |
s390/stacktrace: Use break instead of return statement
arch_stack_walk_user_common() contains a return statement instead of a
break statement in case store_ip() fails while trying to store a callchain
entry of a user space process.
This may lead to a missing pagefault_enable() call.
If this happens any subsequent page fault of the process won't be resolved
by the page fault handler and this in turn will lead to the process being
killed.
Use a break instead of a return statement to fix this.
Fixes: ebd912ff9919 ("s390/stacktrace: Merge perf_callchain_user() and arch_stack_walk_user()")
Cc: stable@vger.kernel.org
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions