From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Varun Prakash <varun@chelsio.com>
Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
indranil@chelsio.com
Subject: Re: [PATCH] scsi: libcxgbi: add check for valid cxgbi_task_data
Date: Mon, 24 Jul 2017 22:16:39 -0400 [thread overview]
Message-ID: <yq1inih1cs8.fsf@oracle.com> (raw)
In-Reply-To: <1500820292-21893-1-git-send-email-varun@chelsio.com> (Varun Prakash's message of "Sun, 23 Jul 2017 20:01:32 +0530")
Varun,
> In error case it is possible that ->cleanup_task() gets called without
> calling ->alloc_pdu() in this case cxgbi_task_data is not valid, so
> add a check for for valid cxgbi_task_data in cxgbi_cleanup_task().
Applied to 4.13/scsi-fixes, thanks!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2017-07-25 2:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-23 14:31 [PATCH] scsi: libcxgbi: add check for valid cxgbi_task_data Varun Prakash
2017-07-25 2: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=yq1inih1cs8.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=indranil@chelsio.com \
--cc=linux-scsi@vger.kernel.org \
--cc=varun@chelsio.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox