aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugins/plugin_function.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2025-11-13 18:16:43 +0000
committerMartin K. Petersen <[email protected]>2025-11-20 03:46:36 +0000
commit90449f2d1e1f020835cba5417234636937dd657e (patch)
treee44b404dbdd702e4eeac452917cda6811dc4ed34 /tools/lib/traceevent/plugins/plugin_function.c
parentscsi: target: tcm_loop: Fix segfault in tcm_loop_tpg_address_show() (diff)
downloadkernel-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