public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: "James E . J . Bottomley" <jejb@linux.vnet.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Manish Rangankar <manish.rangankar@cavium.com>,
	Wei Yongjun <weiyongjun1@huawei.com>,
	QLogic-Storage-Upstream@cavium.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH -next] scsi: qedi: Fix possible memory leak in qedi_iscsi_update_conn()
Date: Thu, 09 Feb 2017 18:35:45 -0500	[thread overview]
Message-ID: <yq1y3xfj5ta.fsf@oracle.com> (raw)
In-Reply-To: <20170207145258.31429-1-weiyj.lk@gmail.com> (Wei Yongjun's message of "Tue, 7 Feb 2017 14:52:58 +0000")

>>>>> "Wei" == Wei Yongjun <weiyj.lk@gmail.com> writes:

Wei> 'conn_info' is malloced in qedi_iscsi_update_conn() and should be
Wei> freed before leaving from the error handling cases, otherwise it
Wei> will cause memory leak.

Applied to 4.11/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2017-02-09 23:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07 14:52 [PATCH -next] scsi: qedi: Fix possible memory leak in qedi_iscsi_update_conn() Wei Yongjun
2017-02-08  5:51 ` Rangankar, Manish
2017-02-09 23:35 ` 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=yq1y3xfj5ta.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=QLogic-Storage-Upstream@cavium.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=manish.rangankar@cavium.com \
    --cc=weiyj.lk@gmail.com \
    --cc=weiyongjun1@huawei.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