summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTanZheng <tanzheng@kylinos.cn>2026-07-24 15:58:50 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2026-07-28 21:52:08 -0400
commit9c33222bd387312874fbe36ca8002e5c945b9653 (patch)
treedf493b263e57e9780270d1e9740d7c1a29cbc457 /tools/perf/scripts/python/export-to-sqlite.py
parent4d5282c06ca198319c2de41b10511ddcb8068f42 (diff)
scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE
In the iblock_execute_pr_out() function, PRO_PREEMPT, PRO_PREEMPT_AND_ABORT, and PRO_RELEASE all perform callback capability checks through ops->pr_clear. The error check allows unimplemented hooks to pass through the gate, resulting dereferencing a NULL function pointer. Check whether the hooks that need to be called are supported. Fixes: 394f81184882 ("scsi: target: Add block PR support to iblock") Signed-off-by: TanZheng <tanzheng@kylinos.cn> Reviewed-by: Mike Christie <michael.christie@oracle.com> Link: https://patch.msgid.link/20260724075850.280699-1-kensanya@163.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions