Re: [PATCH] scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE

"Martin K. Petersen" <[email protected]>
Newsgroups gmane.linux.scsi,gmane.linux.scsi.target.devel
Message-ID <[email protected]>
On Fri, 24 Jul 2026 15:58:50 +0800, [email protected] wrote:

> 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.
> 
> [...]

Applied to 7.2/scsi-fixes, thanks!

[1/1] scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE
      https://git.kernel.org/mkp/scsi/c/9c33222bd387

-- 
Martin K. Petersen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.