summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2026-08-31 12:27:20 -0700
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-09-16 21:33:30 -0400
commit42d1221d321e55afc7bba9109a77aaf5a817c8a3 (patch)
tree6ce259d3473b11b141508e2cfef450422d5c2fd4 /tools/perf/scripts/python
parentb6ec0f79745967c751c85df373062c8d15e45fc4 (diff)
downloadlinux-next-42d1221d321e55afc7bba9109a77aaf5a817c8a3.tar.gz
linux-next-42d1221d321e55afc7bba9109a77aaf5a817c8a3.zip
scsi: megaraid_sas: Protect megasas_get_ctrl_info() in megasas_resume()
Protect the megasas_get_ctrl_info() call in megasas_resume() with instance->reset_mutex using scoped_guard(). megasas_get_ctrl_info() may release and reacquire instance->reset_mutex. Hence, calling this function without holding instance->reset_mutex is not safe. Fixes: c3b10a55abc9 ("scsi: megaraid_sas: Update controller info during resume") Cc: Kashyap Desai <kashyap.desai@broadcom.com> Cc: Sumit Saxena <sumit.saxena@broadcom.com> Cc: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Cc: Chandrakanth patil <chandrakanth.patil@broadcom.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/f06b5ee432b21cf293f0663e15b64f75a84b9fd5.1788204406.git.bvanassche@acm.org Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions