Linux-SCSI Archive on
 help / color / Atom feed
From: James Smart <>
To: Zhangguanghui <>,
	"" <>
Cc: "" <>,
	James Smart <>
Subject: Re: scsi: lpfc: Fix hardlockup in lpfc_abort_handler
Date: Thu, 10 Oct 2019 10:49:50 -0700
Message-ID: <> (raw)
In-Reply-To: <>

On 10/10/2019 1:59 AM, Zhangguanghui wrote:
> Hi everyone
> Please refer to the latest patch.
> There is a race deadlock in the function lpfc_abort_handler
> potential deadlocks arising from lock ordering problems.
> It’s the correct order
> spin_unlock(&lpfc_cmd->buf_lock)
> spin_unlock_irqrestore(&phba->hbalock, flags);
> How to solve it ? I think that the patch is reasonable,
> can you help me review and commit this patch, Best regards
> diff --git a/src/lpfc- b/src/lpfc-
> index 3f1375a..19c8505 100644
> --- a/src/lpfc-
> +++ b/src/lpfc-

We confirmed the issue you stated.  We are looking at what you proposed 
and will be adding a patch that will be posted in our next
patch set after we've put it through some regression testing.

-- james

           reply index

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <>]

Reply instructions:

You may reply publically 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:

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

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-SCSI Archive on

Archives are clonable:
	git clone --mirror linux-scsi/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-scsi linux-scsi/ \
	public-inbox-index linux-scsi

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox