All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: David Disseldorp <ddiss@suse.de>, target-devel@vger.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	Mike Christie <michael.christie@oracle.com>,
	Lee Duncan <lduncan@suse.com>
Subject: Re: [PATCH] scsi: target: fix NULL dereference on XCOPY completion
Date: Tue, 20 Jul 2021 23:22:46 -0400	[thread overview]
Message-ID: <162683773927.29160.6924179509253006982.b4-ty@oracle.com> (raw)
In-Reply-To: <20210720225522.26291-1-ddiss@suse.de>

On Wed, 21 Jul 2021 00:55:22 +0200, David Disseldorp wrote:

> CPU affinity control added with 39ae3edda325 makes target_complete_cmd()
> queue work on a CPU based on se_tpg->se_tpg_wwn->cmd_compl_affinity
> state.
> 
> LIO's EXTENDED COPY worker is a special case in that read/write cmds
> are dispatched using the global xcopy_pt_tpg, which carries a NULL
> se_tpg_wwn pointer following initialization in target_xcopy_setup_pt().
> 
> [...]

Applied to 5.14/scsi-fixes, thanks!

[1/1] scsi: target: fix NULL dereference on XCOPY completion
      https://git.kernel.org/mkp/scsi/c/a47fa41381a0

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2021-07-21  3:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-20 22:55 [PATCH] scsi: target: fix NULL dereference on XCOPY completion David Disseldorp
2021-07-21  0:22 ` michael.christie
2021-07-21  3:22 ` Martin K. Petersen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162683773927.29160.6924179509253006982.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=ddiss@suse.de \
    --cc=lduncan@suse.com \
    --cc=michael.christie@oracle.com \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.