All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: linux-scsi@vger.kernel.org,
	Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH] mpt3sas:Fix kernel panic during drive powercycle test
Date: Thu, 18 Nov 2021 23:16:41 -0500	[thread overview]
Message-ID: <163729506337.21244.2229003917376159521.b4-ty@oracle.com> (raw)
In-Reply-To: <20211117104909.2069-1-sreekanth.reddy@broadcom.com>

On Wed, 17 Nov 2021 16:19:09 +0530, Sreekanth Reddy wrote:

> While looping over shost's sdev list it is possible that one
> of the drive is getting removed and it's sas_target object is
> freed but it's sdev object is still intact with the sdev list.
> So, kernel panic occurred while driver trying to access the sas_address
> field of sas_target object without checking the sas_target object
> for NULL pointer.
> 
> [...]

Applied to 5.16/scsi-fixes, thanks!

[1/1] mpt3sas:Fix kernel panic during drive powercycle test
      https://git.kernel.org/mkp/scsi/c/0ee4ba13e09c

-- 
Martin K. Petersen	Oracle Linux Engineering

      reply	other threads:[~2021-11-19  4:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 10:49 [PATCH] mpt3sas:Fix kernel panic during drive powercycle test Sreekanth Reddy
2021-11-19  4:16 ` 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=163729506337.21244.2229003917376159521.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sreekanth.reddy@broadcom.com \
    /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.