diff options
| author | Bart Van Assche <[email protected]> | 2025-11-13 18:16:43 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-11-20 03:46:36 +0000 |
| commit | 90449f2d1e1f020835cba5417234636937dd657e (patch) | |
| tree | e44b404dbdd702e4eeac452917cda6811dc4ed34 /tools/lib/traceevent/plugins/plugin_function.c | |
| parent | scsi: target: tcm_loop: Fix segfault in tcm_loop_tpg_address_show() (diff) | |
| download | kernel-90449f2d1e1f020835cba5417234636937dd657e.tar.gz kernel-90449f2d1e1f020835cba5417234636937dd657e.zip | |
scsi: sg: Do not sleep in atomic context
sg_finish_rem_req() calls blk_rq_unmap_user(). The latter function may
sleep. Hence, call sg_finish_rem_req() with interrupts enabled instead
of disabled.
Reported-by: [email protected]
Closes: https://lore.kernel.org/linux-scsi/[email protected]/
Cc: Hannes Reinecke <[email protected]>
Cc: [email protected]
Fixes: 97d27b0dd015 ("scsi: sg: close race condition in sg_remove_sfp_usercontext()")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions
